This package has been deprecated

Author message:

Please use is-valid-path by jonschlinkert. Contact dy for package name request.

is-path

1.0.2 • Public • Published

is-path stable Build Status

Check if string is relative or absolute path and not URL.

npm install is-path

const isPath = require('is-path')
 
isPath('C:\\xxx') //true
isPath('./something') //true
isPath('../something') //true
isPath('https://github.com/xyz') //false

If you find edge case, please address issues.

Readme

Keywords

Package Sidebar

Install

npm i is-path

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dfcreative