sindresorhus/is-scoped

Check if a string is a scoped npm package name

JavaScript

25

12 commits

updated Sep 18, 2026

See the code

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

sindresorhus/is-scoped

Check if a string is a scoped npm package name

JavaScript

25

12 commits

updated Sep 18, 2026

See the code

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

Project health

Overall

3.6/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Latest release

3.0.0 · Apr 17, 2021

Releases this year

0