{"adoption": {"forks": 112, "observed_at": "2026-08-28T04:07:32.288564+00:00", "stars": 2959}, "canonical_url": "https://ross.abutalabs.com/products/posthtml", "card": {"archived": false, "artifact_type": "library", "description": "PostHTML is a tool to transform HTML/XML with JS plugins", "domain": ["web-development", "frontend", "parsers", "developer-tools"], "enriched": true, "function": ["parser", "templating", "middleware"], "health_score": 62, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["posthtml/posthtml"], "name": "posthtml/posthtml", "platform": [], "pushed_at": "2025-10-07T07:17:16+00:00", "repo": "posthtml/posthtml", "stars": 2959, "tags": ["html-parser", "xml-parser", "postprocessor", "plugin-system", "html-transformer", "build-pipeline", "nodejs", "javascript"], "topics": ["posthtml", "parser", "html", "xml", "xml-parser", "html-parser", "transformer"], "urls": [], "use_cases": ["transform html with javascript plugins", "parse html into a node tree and manipulate it", "convert custom elements to standard html tags", "process html templates in a build pipeline", "transform html to svg markup", "post-process generated html files"], "what_it_is": "PostHTML is a small JavaScript library for transforming HTML/XML via a plugin ecosystem. It provides an HTML parser, a node tree API, and a stringifier, with all transformations performed by plain JS plugin functions.", "when_to_avoid": ["you need a full DOM implementation with CSS selectors and events", "you are scraping or parsing untrusted real-world web pages where a robust DOM library like cheerio fits better", "you need a complete static site generator or templating engine out of the box"], "when_to_choose": ["you need programmatic HTML/XML transformation in Node.js", "you want a lightweight, plugin-based HTML processor similar to PostCSS for CSS", "you are integrating HTML transforms into a Gulp, webpack, or CLI build step"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/posthtml", "repo": "posthtml/posthtml", "role": "main", "score": 47}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.288564+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:11.320397+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2d30b45561d6acf8530aa68647ce4b965d1134783aab32d630725c4b0b2707b", "fetched_at": "2026-08-28T04:07:32.288564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/posthtml/posthtml"}, {"content_hash": "173ebd7a01e5b2b00ae695378d34a348dac8a8df3db16b2c3f563e81c72af3a8", "fetched_at": "2026-08-29T09:47:50.874305+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/posthtml"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 45, "longevity": 100, "rhythm": 20}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4088, "days_push": 330, "days_rel": 323, "gap_med": null, "n_releases_24m": 1}, "score": 47, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}