Mods/node_modules/is-relative
Repository files (latest commit first)
Filename Latest commit message Latest commit date
oitsjustjose 6b60015c02 --
2017-02-26 17:06:42 -05:00
..
index.js -- 2017-02-26 17:06:42 -05:00
LICENSE -- 2017-02-26 17:06:42 -05:00
package.json -- 2017-02-26 17:06:42 -05:00
README.md -- 2017-02-26 17:06:42 -05:00

is-relative NPM version

Returns true if the path appears to be relative.

Install

Install with npm

$ npm i is-relative --save

Usage

var isRelative = require('is-relative');
isRelative('README.md');
//=> true

Other projects

  • is-absolute: Return true if a file path is absolute.
  • is-dotfile: Return true if a file path is (or has) a dotfile.
  • is-glob: Returns true if the given string looks like a glob pattern.
  • is-unc-path: Returns true if a filepath is a windows UNC file path.

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on July 11, 2015.