depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • import-in-the-middle— Intercept imports in Node.js
  • mdast-util-mdxjs-esm— mdast extension to parse and serialize MDX.js ESM (import/ex
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/optional-import

optional-import

npmv1.1.4

ESM import that lets you handle module not found without try/catch, and tells 'not installed' apart from 'installed but broken'

License Apache-2.0permissive8 versions1 maintainers0 deps453 weekly dl
jchip/fynjs
61
/ 100
Health
use with caution

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

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

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/optional-import
More from npm
?minimatchsemveransi-stylesdebuglru-cache
Browse all npm packages →

First published · 2026-08-29T20:05:31.189Z

Last updated · 2026-09-19T16:18:08.887Z

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