Skip to content
JS
Package

hast-util-parse-selector

hast utility to create an element from a simple CSS selector

v4.0.0, 1 Aug 2023MITESM onlyTypes: BundledCSS-in-JS and styling
$ npm install hast-util-parse-selector

Key numbers

As of 25 Sept 2026
Weekly downloads
22m
+170% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v4.0.0
GitHub stars
13
2 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 31.2m (25 Aug 2026)Low 5.6m (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.

22,006,067 downloads last week, 104,725,469 in the last month. The 12-month change of +170% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
4.0.0, 1 Aug 20233 years ago
First published
21 Feb 2016
Last push to GitHub
1 Aug 20231,150 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
47

Major versions

  1. v4 first release 4.0.0, 1 Aug 2023
  2. v3 first release 3.0.0, 26 Apr 2021
  3. v2 first release 2.0.0, 12 Apr 2016
  4. v1 first release 1.0.0, 21 Feb 2016

Recent releases

VersionPublished
4.0.01 Aug 2023
3.1.17 Jan 2023
3.1.09 May 2021
3.0.026 Apr 2021
2.2.531 Oct 2020
2.2.429 Feb 2020
2.2.310 Nov 2019
2.2.226 May 2019
2.2.17 Nov 2018
2.2.017 Jul 2018
2.1.120 Jun 2018
2.1.06 Nov 2016
2.0.012 Apr 2016
1.0.021 Feb 2016
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (1)
@types/hast
npm install hast-util-parse-selector

CDN

jsDelivr: 72k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hast-util-parse-selector@4.0.0/
  • unpkghttps://unpkg.com/hast-util-parse-selector@4.0.0/
  • esm.shhttps://esm.sh/hast-util-parse-selector@4.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
emmet2.5m-2 years agoESM + CommonJS-
@css-inline/css-inline251.8k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.