Skip to content
JS
Package

posthtml-parser

Parse HTML/XML to PostHTMLTree

v0.12.1, 19 Sept 2024MITCommonJSTypes: BundledParsers and serialisers
$ npm install posthtml-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
2.3m
+130% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v0.12.1
GitHub stars
115
22 forks
Open issues / PRs
5 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.2m (25 Aug 2026)Low 632.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,347,710 downloads last week, 11,360,908 in the last month. The 12-month change of +130% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
035 in total
Latest version
0.12.1, 19 Sept 20242 years ago
First published
15 Oct 2015
Last push to GitHub
21 Jan 2026246 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
178

Major versions

  1. v0 first release 0.1.0, 20 Oct 2015

Recent releases

VersionPublished
0.12.119 Sept 2024
0.12.025 Oct 2023
0.11.025 Feb 2022
0.10.217 Jan 2022
0.10.130 Aug 2021
0.10.028 Jul 2021
0.9.126 Jul 2021
0.9.011 May 2021
0.8.56 May 2021
0.8.46 May 2021
0.8.36 May 2021
0.8.26 May 2021
0.8.15 May 2021
0.8.016 Apr 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (1)
htmlparser2
npm install posthtml-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/posthtml-parser@0.12.1/
  • unpkghttps://unpkg.com/posthtml-parser@0.12.1/
  • esm.shhttps://esm.sh/posthtml-parser@0.12.1
PackageWeekly downloadsGzipLast releaseModuleComparison
htmlparser62.1k-12 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.