absolute
Test if a path (string) is absolute
Last updated 11 years ago by bahamas10 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (11 years ago)

2 Versions

  • 0.0.1                                ...           11 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |