npm-name-exists

1.0.4 • Public • Published

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

Dependents (2)

Package Sidebar

Install

npm i npm-name-exists

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • pablopunk