Skip to content

bahamas10/node-absolute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Test if a path (string) is absolute

Resources

Stars

Watchers

Forks

Packages

No packages published