Twig.js

JS port of the Twig templating language.

twig@3.0.0 was published on 2026-03-26. Its manifest declares 4 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=22.

All Twig.js versions · Permanent reference to 3.0.0

Package specifications

Version3.0.0
License declarationBSD-2-Clause
Published2026-03-26T19:43:50.935Z
Node.js requirement>=22
Type declarationsNot declared
Runtime dependency count4
Peer requirement count0
Optional dependency count0
Minified size95.44 KiB
Minified + gzip26.47 KiB
Unpacked distribution size1151.69 KiB
Published file count37
Package typeNot declared
ES module entryNot declared
Default entrysrc/twig.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies7
Repository stars1933
Repository forks286

Install Twig.js 3.0.0

npm install twig@3.0.0
pnpm add twig@3.0.0
yarn add twig@3.0.0

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.

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

Evidence and freshness