nv

npm-validate

Check if a string is is a valid NPM package name

Showing:

Popularity

Downloads/wk

2

Maintenance

No Maintenance Data Available

Package

Dependencies

4

Size (min+gzip)

61.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
Package no longer supported. Contact support@npmjs.com for more info.

Readme

npm-validate

Build Status Code Coverage

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial