You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
zsmj dd41bae746 first commit 3 years ago
..
index.js first commit 3 years ago
license first commit 3 years ago
package.json first commit 3 years ago
readme.md first commit 3 years ago

readme.md

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