is-scoped-package
Detect if a string is a scoped package name that could be on npm
Install
$ npm install --save is-scoped-package
Usage
var isScopedPackage = ; ;//=> true ;//=> false
API
isScopedPackage(name) -> boolean
name
Required
Type: string
Scoped package name.
See also
- 13 - Working with scoped packages | npm Documentation
- scope | npm Documentation
npm help scope
- validate-npm-package-name
- npm-package-arg
- is-package
Changelog
License
MIT © sanemat