You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.. | ||
index.js | 3 years ago | |
license | 3 years ago | |
package.json | 3 years ago | |
readme.md | 3 years ago |
readme.md
is-scoped 
Check if a string is a scoped npm package name
Install
$ npm install --save is-scoped
Usage
const isScoped = require('is-scoped');
isScoped('@sindresorhus/df');
//=> true
isScoped('cat-names');
//=> false
Related
- scoped-regex - Regular expression for matching scoped npm package names
License
MIT © Sindre Sorhus