Check if a string is a scoped npm package name
$ npm install is-scoped
import isScoped from 'is-scoped';
isScoped('@sindresorhus/df');
//=> true
isScoped('cat-names');
//=> false
- scoped-regex - Regular expression for matching scoped npm package names