1.0.0 • Published 6 years ago
npm-validate v1.0.0
npm-validate
Install
$ npm install npm-validate
Usage
const npmValidate = require('npm-validate');
npmValidate('my-famous-module').then(res=>{
console.log(res);
// => true
}).catch(err => {
console.error(err);
})
API
npmValidate(name)
Returns a Promise
for the string
name
Type: string
String to check
License
MIT © Samarth Verma
1.0.0
6 years ago