has-dynamic-import

Does the current environment have `import()` support?

has-dynamic-import@2.1.1 was published on 2024-12-16. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 0.4.

All has-dynamic-import versions · Permanent reference to 2.1.1

Package specifications

Version2.1.1
License declarationMIT
Published2024-12-16T06:39:40.996Z
Node.js requirement>= 0.4
Type declarationsBundled declarations
Runtime dependency count3
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size21.39 KiB
Published file count26
Package typeNot declared
ES module entryNot declared
Default entryindex.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies20
Repository stars3
Repository forks2

Install has-dynamic-import 2.1.1

npm install has-dynamic-import@2.1.1
pnpm add has-dynamic-import@2.1.1
yarn add has-dynamic-import@2.1.1

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts10/10 — no binaries found in the repo
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review0/10 — Found 0/30 approved changesets -- score normalized to 0
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
SAST0/10 — no SAST tool detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
Security-Policy10/10 — security policy file detected

Evidence and freshness