$ gnpm install is-scoped
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
Copyright 2013 - present © cnpmjs.org | Home |