Skip to content
JS
Package

esquery

A query library for ECMAScript AST using a CSS selector like query language.

v1.7.0, 31 Dec 2025BSD-3-ClauseESM + CommonJSTypes: None
$ npm install esquery

Key numbers

As of 25 Sept 2026
Weekly downloads
112.2m
+128% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 months ago
v1.7.0
GitHub stars
892
94 forks
Open issues / PRs
26 / 18
Contributors
23
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 148.7m (18 Aug 2026)Low 31.8m (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.

112,161,688 downloads last week, 493,061,225 in the last month. The 12-month change of +128% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
118 in total
Latest version
1.7.0, 31 Dec 20258 months ago
First published
24 Jul 2013
Last push to GitHub
31 Dec 2025267 days before the snapshot
Repository archived
No
Open issues
26
Open pull requests
18
Commits, last 52 weeks
2
Dependents on npm
1,567

Major versions

  1. v1 first release 1.0.0, 10 Mar 2017
  2. v0 first release 0.0.1, 24 Jul 2013

Recent releases

VersionPublished
1.7.031 Dec 2025
1.6.08 Jul 2024
1.5.02 Mar 2023
1.4.216 Feb 2023
1.4.116 Feb 2023
1.4.05 Feb 2021
1.3.116 Apr 2020
1.3.015 Apr 2020
1.2.113 Apr 2020
1.2.023 Mar 2020
1.1.012 Feb 2020
1.0.12 Apr 2018
1.0.010 Mar 2017
0.4.05 May 2015
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10
Runtimes
-
Unpacked size (npm)
1.0 MB
Dependencies (1)
estraverse
npm install esquery
  • jsDelivrhttps://cdn.jsdelivr.net/npm/esquery@1.7.0/
  • unpkghttps://unpkg.com/esquery@1.7.0/
  • esm.shhttps://esm.sh/esquery@1.7.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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