absolute

Test if a path (string) is absolute

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
absolute
010.0.18 years ago10 years agoMinified + gzip package size for absolute in KB

Readme

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