# donpark/html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.

Repository: https://github.com/donpark/html2jade
Canonical: https://ross.abutalabs.com/products/html2jade
Language: HTML
License: MIT
License Family: permissive
Last push: 2017-04-24T04:35:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5611, "days_push": 3418, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1173, forks 150 (observed 2026-08-28T04:03:51.946817+00:00)

## What it is
A Node.js tool and library that converts HTML documents into Jade (now Pug) template syntax. It works as a CLI for files, URLs, and stdin, and also offers a programmatic API and browser-side conversion.

## Use cases
- convert html files to jade templates
- migrate legacy html templates to pug
- convert a webpage url to jade markup
- batch convert html templates to jade
- turn html into jade for node.js projects
- convert handlebars/mustache html to jade

## When to choose
- you need one-off or occasional HTML to Jade/Pug conversions
- you want a CLI that handles files, globs, URLs, and stdin
- you need programmatic HTML-to-Jade conversion in Node.js

## When to avoid
- you need actively maintained tooling for modern Pug features
- you need perfect conversion of complex conditionals and scripts without hand-editing
- your project runs on unsupported old Node.js versions

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: parser, templating, cli, developer-tools
- domain: web-development, developer-tools
- platform: cli, cross-platform
- tags: html-to-jade, pug, template-conversion, html-converter, command-line, nodejs

## Member repositories
- donpark/html2jade (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.946817+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:22.368057+00:00, confidence not recorded.
  - readme: https://github.com/donpark/html2jade (fetched 2026-08-28T04:03:51.946817+00:00, sha 14df0a775250)
- Data as of 2026-08-30T08:39:29.467469+00:00.
