depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • @npmcli/name-from-folder— Get the package name from a folder path
  • @azure/logger— Microsoft Azure SDK for JavaScript - Logger
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/if-else-throw

if-else-throw

npmv2.0.0

If X, return Y, else throw Z.

License MITpermissive2 versions1 maintainers3 deps3,370 weekly dl
lamansky/if-else-throw
45
/ 100
Health
use with caution

[email protected] low health (45/100) — consider alternatives

  • Moderate health score (45/100) — verify manually
Health breakdown0 – 100
0/25
maintenance
6/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

0/10untyped
No type definitions available

Health History

Dependency Tree

License Audit

Dependencies (3)
errateofnpfn
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/if-else-throw
More from npm
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2017-11-28T14:10:41.746Z

Last updated · 2018-04-11T06:05:56.151Z

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