@cuba-platform/front-generator
Version:
CUBA Platform front-end clients generator
34 lines (18 loc) • 616 B
Markdown
> Check if a string is a [scoped npm package name](https://docs.npmjs.com/misc/scope)
```
$ npm install --save is-scoped
```
```js
const isScoped = require('is-scoped');
isScoped('@sindresorhus/df');
//=> true
isScoped('cat-names');
//=> false
```
- [scoped-regex](https://github.com/sindresorhus/scoped-regex) - Regular expression for matching scoped npm package names
MIT © [Sindre Sorhus](https://sindresorhus.com)