pug-code-gen 2.0.0
Default code-generator for pug. It generates HTML via a JavaScript template function.
pug-code-gen@2.0.0 was published on 2017-09-06. 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 2.0.0 · Latest release
Package specifications
| Version | 2.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-09-06T15:28:09.292Z |
| 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 | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 2 |
| Resolved graph dependencies | 21 |
| Repository stars | 21826 |
| Repository forks | 1933 |
Install pug-code-gen 2.0.0
npm install pug-code-gen@2.0.0 pnpm add pug-code-gen@2.0.0 yarn add pug-code-gen@2.0.0
Runtime dependencies
- with ^5.0.0
- doctypes ^1.1.0
- pug-attrs ^2.0.2
- pug-error ^1.3.2
- pug-runtime ^2.0.3
- js-stringify ^1.0.1
- void-elements ^2.0.1
- constantinople ^3.0.1
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.
- @types/babel-types@7.0.16 — indirect
- @types/babylon@6.16.9 — indirect
- acorn@3.3.0 — indirect
- acorn@4.0.13 — indirect
- acorn-globals@3.1.0 — indirect
- babel-runtime@6.26.0 — indirect
- babel-types@6.26.0 — indirect
- babylon@6.18.0 — indirect
- constantinople@3.1.2 — direct
- core-js@2.6.12 — indirect
- doctypes@1.1.0 — direct
- esutils@2.0.3 — indirect
- js-stringify@1.0.2 — direct
- lodash@4.18.1 — indirect
- pug-attrs@2.0.4 — direct
- pug-error@1.3.3 — direct
- pug-runtime@2.0.5 — direct
- regenerator-runtime@0.11.1 — indirect
- to-fast-properties@1.0.3 — indirect
- void-elements@2.0.1 — direct
- with@5.1.1 — 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.
Known direct advisories
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/2.0.0 — retrieved 2026-11-01T10:32:17.756Z
- https://api.deps.dev/v3/projects/github.com%2Fpugjs%2Fpug — retrieved 2026-11-01T06:58:00.422Z
- https://api.deps.dev/v3/systems/npm/packages/pug-code-gen/versions/2.0.0:dependencies — retrieved 2026-11-01T10:32:18.214Z
- https://api.deps.dev/v3/systems/npm/packages/pug-code-gen/versions/2.0.0 — retrieved 2026-11-01T10:32:18.239Z