Files
bake/contrib/bake-vscode/node_modules/is-scoped
2019-09-17 13:20:42 -04:00
..
2019-09-17 13:20:42 -04:00
2019-09-17 13:20:42 -04:00
2019-09-17 13:20:42 -04:00
2019-09-17 13:20:42 -04:00

is-scoped Build Status

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
  • scoped-regex - Regular expression for matching scoped npm package names

License

MIT © Sindre Sorhus