package-name-regex Alternatives
Safer and better-maintained options, ranked by Nerq Trust Score. Updated 2026-11-27.
package-name-regex has a Nerq Trust Score of 76 (B+). Provides a regex that can be used to test if a string is a valid NPM package name.
| # | Name | Trust | Grade | Stars | Key Difference |
|---|
FAQ
What are the best alternatives to package-name-regex?
The top alternatives based on Nerq Trust Score are listed above, all independently evaluated for security and reliability.
Is it safe to switch from package-name-regex?
Check each alternative's safety report by clicking its name. Trust scores above 70 indicate strong reliability.
How does Nerq rank package-name-regex alternatives?
Alternatives are ranked by Trust Score v2, combining security, maintenance, documentation, and community signals.