An open API service indexing awesome lists of open source software.

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

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

| ![me](https://gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?size=100) |
| --------------------------------- |
| [Pablo Varela](https://pablo.life) |