sfcode
An Online Competing and Development Environment
|
Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled.
Install with npm:
Pass false
as the last argument to keep trailing slashes:
true
if the given string
or array
ends with suffix
using strict equality for… more | homepagepath.isAbolute
. Returns true if a file path is absolute. | homepagetrue
if the path appears to be relative. | homepagepath.parse
, parses a filepath into an object. | homepagetrue
if a file path ends with the given string/suffix. | homepagePull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Commits | Contributor |
---|---|
31 | jonschlinkert |
1 | phated |
_(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)_
To generate the readme, run the following command:
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the [MIT License](LICENSE).
This file was generated by verb-generate-readme, v0.4.3, on March 29, 2017.