v5.0.0
package-name-regex
Provides a regex that can be used to test if a string is a valid NPM package name.
match name package regex regexp test validate
Click the AI button to generate exact installation commands and usage examples for your environment.
Dependencies (0)
Zero dependencies
Dev Dependencies (3)
Package Info
License
MIT
Last Publish
January 2, 2026
Unpacked Size
6.68 KB
Total Files
5
Issue Tracker
Report a bug