pug-code-gen 3.0.4
Default code-generator for pug. It generates HTML via a JavaScript template function.
pug-code-gen@3.0.4 was published on 2026-03-13. Its manifest declares 8 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All pug-code-gen versions · Permanent reference to 3.0.4 · Latest release
Package specifications
| Version | 3.0.4 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-13T15:12:36.650Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 8 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 28.34 KiB |
| Published file count | 4 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 14 |
| Repository stars | 21826 |
| Repository forks | 1934 |
Install pug-code-gen 3.0.4
npm install pug-code-gen@3.0.4 pnpm add pug-code-gen@3.0.4 yarn add pug-code-gen@3.0.4
Runtime dependencies
- constantinople ^4.0.1
- doctypes ^1.1.0
- js-stringify ^1.0.2
- pug-attrs ^3.0.0
- pug-error ^2.1.0
- pug-runtime ^3.0.1
- void-elements ^3.1.0
- with ^7.0.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.
- @babel/helper-string-parser@7.29.11 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @babel/parser@7.29.11 — indirect
- @babel/types@7.29.11 — indirect
- assert-never@1.4.0 — indirect
- babel-walk@3.0.0-canary-5 — indirect
- constantinople@4.0.1 — direct
- doctypes@1.1.0 — direct
- js-stringify@1.0.2 — direct
- pug-attrs@3.0.0 — direct
- pug-error@2.1.0 — direct
- pug-runtime@3.0.1 — direct
- void-elements@3.1.0 — direct
- with@7.0.2 — 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.
| Security-Policy | 10/10 — security policy file detected |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Code-Review | 4/10 — Found 14/30 approved changesets -- score normalized to 4 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 0/10 — license file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/pug-code-gen/3.0.4 — retrieved 2026-10-29T10:31:14.974Z
- https://api.deps.dev/v3/systems/npm/packages/pug-code-gen/versions/3.0.4 — retrieved 2026-10-29T10:31:15.481Z
- https://api.deps.dev/v3/systems/npm/packages/pug-code-gen/versions/3.0.4:dependencies — retrieved 2026-10-29T10:31:15.529Z
- https://api.deps.dev/v3/projects/github.com%2Fpugjs%2Fpug — retrieved 2026-10-29T09:32:03.411Z