Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bahamas10/node-absolute
- Owner: bahamas10
- Created: 2013-04-23T08:47:44.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-18T22:51:00.000Z (almost 10 years ago)
- Last Synced: 2024-05-08T20:01:22.014Z (8 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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');
// => trueabsolute('/something');
// => trueabsolute('./myfile');
// => falseabsolute('temp');
// => false
```License
-------MIT