work.suroh.tk/node_modules/is-relative-path/Readme.md

17 lines
419 B
Markdown

### is-relative-path [![npm](http://img.shields.io/npm/v/is-relative-path.svg)](https://npmjs.org/package/is-relative-path) [![npm](http://img.shields.io/npm/dm/is-relative-path.svg)](https://npmjs.org/package/is-relative-path)
> Sometimes I just want to scream
`npm install is-relative-path`
### Usage
```js
var isRelative = require('is-relative-path');
isRelative('../'); // true
isRelative('/'); // false
```