Skip to content

pablopunk/npm-name-exists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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