vlad 6f123ff03e 18.07 6 tahun lalu
..
index.js 6f123ff03e 18.07 6 tahun lalu
license 6f123ff03e 18.07 6 tahun lalu
package.json 6f123ff03e 18.07 6 tahun lalu
readme.md 6f123ff03e 18.07 6 tahun lalu

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

Related

  • scoped-regex - Regular expression for matching scoped npm package names

License

MIT © Sindre Sorhus