package-name-regex

npmv5.0.0

Provides a regex that can be used to test if a string is a valid NPM package name.

License MITpermissive30 versions1 maintainers0 deps209,074 weekly dl
dword-design/package-name-regex
68
/ 100
Health
safe to use

[email protected] is safe to use (health: 68/100)

Health breakdown0 – 100
15/25
maintenance
14/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

0.3 KBminified
0.2 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/package-name-regex

First published · 2019-12-03T00:37:18.859Z

Last updated · 2026-01-02T16:44:08.452Z