depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • trim-fix— Trim string whitespace
  • trim-repeated— Trim a consecutively repeated substring: foo--bar---baz → fo
  • trim-newlines— Trim newlines from the start and/or end of a string
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/trim

trim

npmv1.0.1deprecated

Trim string whitespace

License MITpermissive5 versions2 maintainers0 deps2,148,605 weekly dl
Trott/trim
30
/ 100
Health
find alternative

trim is deprecated — find an alternative

  • Low health score (30/100)
  • Package is deprecated
Health breakdown0 – 100
0/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
3/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

7/10typed
Types from @types/trim (DefinitelyTyped)

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/trim
More from npm
semverdebugansi-stylesminimatchstrip-ansims
Browse all npm packages →

First published · 2013-03-12T17:59:21.016Z

Last updated · 2021-04-01T20:48:35.970Z

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