Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bahamas10/node-absolute

Test if a path (string) is absolute
https://github.com/bahamas10/node-absolute

Last synced: about 2 months ago
JSON representation

Test if a path (string) is absolute

Awesome Lists containing this project

README

        

absolute
========

Test if a path (string) is absolute

Installation
------------

npm install absolute

Usage
-----

``` js
var absolute = require('absolute');

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

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

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

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

License
-------

MIT