Twig.js 3.0.0
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 · Latest release
Package specifications
| Version | 3.0.0 |
|---|---|
| License declaration | BSD-2-Clause |
| Published | 2026-03-26T19:43:50.935Z |
| Node.js requirement | >=22 |
| Type declarations | Not declared |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | 95.44 KiB |
| Minified + gzip | 26.47 KiB |
| Unpacked distribution size | 1151.69 KiB |
| Published file count | 37 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | src/twig.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 7 |
| Repository stars | 1933 |
| Repository forks | 286 |
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
- @babel/runtime ^7.8.4
- locutus ^3.0.9
- minimatch ^10
- walk 2.3.x
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.
- @babel/runtime@7.29.10 — direct
- balanced-match@4.0.4 — indirect
- brace-expansion@5.0.12 — indirect
- foreachasync@3.0.0 — indirect
- locutus@3.0.36 — direct
- minimatch@10.2.6 — direct
- walk@2.3.15 — 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 — 15 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 9/10 — Found 9/10 approved changesets -- score normalized to 9 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 2/10 — dependency not pinned by hash detected -- score normalized to 2 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/twig/3.0.0 — retrieved 2026-10-29T10:26:46.614Z
- https://api.deps.dev/v3/systems/npm/packages/twig/versions/3.0.0:dependencies — retrieved 2026-10-28T23:30:33.484Z
- https://bundlephobia.com/api/size?package=twig%403.0.0 — retrieved 2026-10-28T23:30:33.745Z
- https://api.deps.dev/v3/systems/npm/packages/twig/versions/3.0.0 — retrieved 2026-10-29T05:09:29.476Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Ftwigjs%2Ftwig.js — retrieved 2026-10-29T05:09:29.745Z