depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • toidentifier— Convert a string of words to a JavaScript identifier
  • filenamify— Convert a string to a valid safe filename
  • pascalcase— Convert a string to pascal case (upper camelcase).
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/to-valid-identifier

to-valid-identifier

npmv1.0.0

Convert a string to a valid JavaScript identifier

License MITpermissive3 versions1 maintainers2 deps1,716,745 weekly dl
sindresorhus/to-valid-identifier
60
/ 100
Health
safe to use

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

Health breakdown0 – 100
10/25
maintenance
17/20
popularity
25/25
security
6/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

3.1 KBminified
1.3 KB gzipped
2 direct dependencies
🌟

TypeScript

10/10typed
bundled
Quality signals
Publish security
npm signed

Health History

Dependency Tree

License Audit

Dependencies (2)
@sindresorhus/base62reserved-identifiers
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/to-valid-identifier
More from npm
semveransi-stylesminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2024-05-05T18:32:07.494Z

Last updated · 2025-10-15T02:23:38.881Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents