absolute
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/absolute package

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i absolute

Weekly Downloads

6,072

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bahamas10