Package
hast-util-parse-selector
hast utility to create an element from a simple CSS 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
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
- v4 first release 4.0.0, 1 Aug 2023
- v3 first release 3.0.0, 26 Apr 2021
- v2 first release 2.0.0, 12 Apr 2016
- v1 first release 1.0.0, 21 Feb 2016
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 1 Aug 2023 |
| 3.1.1 | 7 Jan 2023 |
| 3.1.0 | 9 May 2021 |
| 3.0.0 | 26 Apr 2021 |
| 2.2.5 | 31 Oct 2020 |
| 2.2.4 | 29 Feb 2020 |
| 2.2.3 | 10 Nov 2019 |
| 2.2.2 | 26 May 2019 |
| 2.2.1 | 7 Nov 2018 |
| 2.2.0 | 17 Jul 2018 |
| 2.1.1 | 20 Jun 2018 |
| 2.1.0 | 6 Nov 2016 |
| 2.0.0 | 12 Apr 2016 |
| 1.0.0 | 21 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-selectorCDN
jsDelivr: 72k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/hast-util-parse-selector@4.0.0/ - unpkg
https://unpkg.com/hast-util-parse-selector@4.0.0/ - esm.sh
https://esm.sh/hast-util-parse-selector@4.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| emmet | 2.5m | - | 2 years ago | ESM + CommonJS | - |
| @css-inline/css-inline | 251.8k | - | 1 month ago | CommonJS | - |
Indexability: Indexed.