esquery
npmv1.7.0A query library for ECMAScript AST using a CSS selector like query language.
Overview
esquery is an npm package that a query library for ECMAScript AST using a CSS selector like query language. The latest version is 1.7.0, released under the BSD-3-Clause license.
Who should use it
Teams working in the npm ecosystem who need a query library for ECMAScript AST using a CSS selector like query language and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (BSD-3-Clause).
Cons
- Large dependency tree (17 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of esquery.
Dependencies
Runtime (1)
Dev (16)
Used by
Popular packages that depend on esquery.
Alternatives to esquery
An AST-based pattern checker for JavaScript.
An Esprima-compatible JavaScript parser built on Acorn
A JavaScript parser
`Object.defineProperty`, but not IE 8's broken one.
Determine whether an AST node is a reference
A robust, ES3 compatible, "has own property" predicate.
WebAssembly binary format parser
AST utils for webassemblyjs
WebAssembly text format printer
A querystring parser that supports nesting and arrays, with a depth limit
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
Type safe SQL query builder
Frequently installed together
Runtime typescript and ESM support for Node.js
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Helper utilities for creating ESLint configuration
ECMAScript scope analyzer for ESLint
Utilities for ESLint plugins.
An incremental implementation of MurmurHash3
utility box for ECMAScript language tools
An Esprima-compatible JavaScript parser built on Acorn
Version history
| Version | Published | License |
|---|---|---|
| 1.7.0latest | 6 months ago | BSD-3-Clause |
| 1.6.0 | 2 years ago | BSD-3-Clause |
| 1.5.0 | 3 years ago | BSD-3-Clause |
| 1.4.2 | 3 years ago | BSD-3-Clause |
| 1.4.1 | 3 years ago | BSD-3-Clause |
| 1.4.0 | 5 years ago | BSD-3-Clause |
| 1.3.1 | 6 years ago | BSD-3-Clause |
| 1.3.0 | 6 years ago | BSD-3-Clause |
| 1.2.1 | 6 years ago | BSD-3-Clause |
| 1.2.0 | 6 years ago | BSD-3-Clause |
| 1.1.0 | 6 years ago | BSD-3-Clause |
| 1.0.1 | 8 years ago | BSD-3-Clause |
| 1.0.0 | 9 years ago | BSD |
| 0.4.0 | 11 years ago | BSD |
| 0.3.0 | 12 years ago | BSD |
| 0.2.0 | 13 years ago | BSD |
| 0.1.0 | 13 years ago | BSD |
| 0.0.1 | 13 years ago | BSD |
Maintainers
Keywords
Frequently asked questions
How do I install esquery?
Run `npm install esquery` to add esquery to your npm project.
What license is esquery released under?
esquery is distributed under the BSD-3-Clause license.
How popular is esquery?
esquery has approximately 0 downloads per week and 1 known dependent packages.