contains-path
Return true if a file path contains the given path.
Install
Install with npm
Usage
true
All of the following return true
:
false
All of the following return false
:
Related projects
is-absolute: Return true if a file path is absolute.
is-relative: Returns
true
if the path appears to be relative.path-ends-with: Return
true
if a file path ends with the given string/suffix.path-segments: Get n specific segments of a file path, e.g. first 2, last 3, etc.
parse-filepath: Parse a filepath into an object, yielding predictable results for basename and extname.
Running tests
Install dev dependencies:
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on July 07, 2015.
Last updated