3.0.0 • Published 5 years ago
is-scoped v3.0.0
is-scoped
Check if a string is a scoped npm package name
Install
$ npm install is-scopedUsage
import isScoped from 'is-scoped';
isScoped('@sindresorhus/df');
//=> true
isScoped('cat-names');
//=> falseRelated
- scoped-regex - Regular expression for matching scoped npm package names