npm.io
3.0.0 • Published 5 years ago

is-scoped

Licence
MIT
Version
3.0.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
25

is-scoped

Check if a string is a scoped npm package name

Install

$ npm install is-scoped

Usage

import isScoped from 'is-scoped';

isScoped('@sindresorhus/df');
//=> true

isScoped('cat-names');
//=> false
  • scoped-regex - Regular expression for matching scoped npm package names

Keywords