@terrastruct/d2 0.1.30
D2.js is a wrapper around the WASM build of D2, the modern text-to-diagram language.
@terrastruct/d2@0.1.30 was published on 2025-08-14. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @terrastruct/d2 versions · Permanent reference to 0.1.30 · Latest release
Package specifications
| Version | 0.1.30 |
|---|---|
| License declaration | MPL-2.0 |
| Published | 2025-08-14T15:37:02.180Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 60859.17 KiB |
| Published file count | 17 |
| Package type | module |
| ES module entry | ./dist/esm/index.js |
| Default entry | ./dist/cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 25755 |
| Repository forks | 775 |
Install @terrastruct/d2 0.1.30
npm install @terrastruct/d2@0.1.30 pnpm add @terrastruct/d2@0.1.30 yarn add @terrastruct/d2@0.1.30
Runtime dependencies
- pako ^2.1.0
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.
- pako@2.2.0 — direct
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.
| Maintained | 10/10 — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 0/10 — Found 0/11 approved changesets -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Pinned-Dependencies | 9/10 — dependency not pinned by hash detected -- score normalized to 9 |
| Signed-Releases | 0/10 — Project has not signed or included provenance with any releases. |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40terrastruct%2Fd2/0.1.30 — retrieved 2026-10-30T20:44:19.272Z
- https://api.deps.dev/v3/systems/npm/packages/%40terrastruct%2Fd2/versions/0.1.30 — retrieved 2026-10-30T20:44:19.670Z
- https://api.deps.dev/v3/systems/npm/packages/%40terrastruct%2Fd2/versions/0.1.30:dependencies — retrieved 2026-10-30T20:44:19.696Z
- https://api.deps.dev/v3/projects/github.com%2Fterrastruct%2Fd2 — retrieved 2026-10-30T20:44:20.223Z