You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rebecca Turner 32b51c97ec deps: upgrade npm to 3.3.6 10 years ago
..
LICENSE deps: upgrade npm to 3.3.6 9 years ago
README.md deps: upgrade npm to 3.3.6 9 years ago
index.js deps: upgrade npm to 3.3.6 9 years ago
package.json deps: upgrade npm to 3.3.6 9 years ago

README.md

is-absolute NPM version Build Status

Return true if a file path is absolute.

Based on the isAbsolute utility method in express.

Install with npm

npm i is-absolute --save

Usage

var isAbsolute = require('is-absolute');
console.log(isAbsolute('a/b/c.js'));
//=> 'false';

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

Other projects

  • is-relative: Returns true if the path appears to be relative.
  • 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.
  • cwd: Node.js util for easily getting the current working directory of a project based on package.json or the given path.
  • git-config-path: Resolve the path to the user's global .gitconfig.

Author

Jon Schlinkert

License

Copyright (c) 2014-2015 Jon Schlinkert Released under the MIT license


This file was generated by verb-cli on March 05, 2015.