absolute
Test if a path (string) is absolute
Last updated 12 years ago by bahamas10 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install absolute 
SYNC missed versions from official npm registry.

absolute

Test if a path (string) is absolute

Installation

npm install absolute

Usage

var absolute = require('absolute');

absolute('/home/dave');
// => true

absolute('/something');
// => true

absolute('./myfile');
// => false

absolute('temp');
// => false

License

MIT

Current Tags

  • 0.0.1                                ...           latest (12 years ago)

2 Versions

  • 0.0.1                                ...           12 years ago
  • 0.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 10
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 2
Last Month 3
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE