JSPM

is-scoped

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1373419
  • Score
    100M100P100Q187911F
  • License MIT

Check if a string is a scoped npm package name

Package Exports

  • is-scoped

Readme

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