https://github.com/pablopunk/npm-name-exists
Check if a name exists on npm registry
https://github.com/pablopunk/npm-name-exists
exists javascript name nodejs npm registry
Last synced: about 1 month ago
JSON representation
Check if a name exists on npm registry
- Host: GitHub
- URL: https://github.com/pablopunk/npm-name-exists
- Owner: pablopunk
- Created: 2017-10-22T02:08:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-10T21:27:24.000Z (over 8 years ago)
- Last Synced: 2025-10-26T21:53:07.498Z (7 months ago)
- Topics: exists, javascript, name, nodejs, npm, registry
- Language: JavaScript
- Size: 56.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# npm-name-exists
Check if a name exists on npm
This package is almost identical to [npm-name](https://github.com/sindresorhus/npm-name), but it's very lightweight cause it doesn't use `lodash`.
## Install
```sh
npm install npm-name-exists
```
## Usage
```js
const exists = require('npm-name-exists')
await exists('fs') //=> true
await exists('miny') //=> true
await exists('my-dope-new-package') //=> false
```
## License
MIT
## Author
|  |
| --------------------------------- |
| [Pablo Varela](https://pablo.life) |