Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.3 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.3 KB

npm-name-exists

Check if a name exists on npm

This package is almost identical to npm-name, but it's very lightweight cause it doesn't use lodash.

Install

npm install npm-name-exists

Usage

const exists = require('npm-name-exists')
await exists('fs') //=> true
await exists('miny') //=> true
await exists('my-dope-new-package') //=> false

License

MIT

Author

me
Pablo Varela