depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access
depscope/npm/optional-require

optional-require

npmv2.1.0

NodeJS Require that let you handle module not found error without try/catch

License Apache-2.0permissive25 versions1 maintainers1 deps
jchip/optional-require
49
/ 100
Health
safe to use

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

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

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

Dependencies (1)
require-at
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/optional-require
More from npm
semveransi-stylesminimatchdebugbrace-expansionms
Browse all npm packages →

First published · 2017-02-04T10:05:25.500Z

Last updated · 2025-07-06T15:37:59.193Z

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