Skip to content
JS
Package

hast-util-select

hast utility for `querySelector`, `querySelectorAll`, and `matches`

v6.0.4, 19 Feb 2025MITESM onlyTypes: Bundled
$ npm install hast-util-select

Key numbers

As of 25 Sept 2026
Weekly downloads
2.1m
+216% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
15
Direct, from package.json
Last release
1 year ago
v6.0.4
GitHub stars
43
2 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.8m (25 Aug 2026)Low 432.7k (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,082,082 downloads last week, 9,221,978 in the last month. The 12-month change of +216% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
020 in total
Latest version
6.0.4, 19 Feb 20251 year ago
First published
9 Apr 2017
Last push to GitHub
19 Feb 2025582 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
167

Major versions

  1. v6 first release 6.0.0, 7 Aug 2023
  2. v5 first release 5.0.0, 29 Apr 2021
  3. v4 first release 4.0.0, 27 Feb 2020
  4. v3 first release 3.0.0, 7 Nov 2018
  5. v2 first release 2.0.0, 17 Jul 2018
  6. v1 first release 1.0.0, 9 Apr 2017

Recent releases

VersionPublished
6.0.419 Feb 2025
6.0.311 Oct 2024
6.0.26 Nov 2023
6.0.130 Aug 2023
6.0.07 Aug 2023
5.0.522 Jan 2023
5.0.416 Jan 2023
5.0.330 Dec 2022
5.0.226 May 2022
5.0.130 Aug 2021
5.0.029 Apr 2021
4.0.23 Dec 2020
4.0.130 Oct 2020
4.0.027 Feb 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
69 kB
Dependencies (15)
devlopzwitchdirectionnth-check@types/hast@types/unistbcp-47-matchunist-util-visitcss-selector-parserhast-util-to-stringhast-util-whitespaceproperty-informationcomma-separated-tokenshast-util-has-propertyspace-separated-tokens
npm install hast-util-select
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hast-util-select@6.0.4/
  • unpkghttps://unpkg.com/hast-util-select@6.0.4/
  • esm.shhttps://esm.sh/hast-util-select@6.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.