eslint
npmv10.7.0TypeScriptAn AST-based pattern checker for JavaScript.
Overview
eslint is an npm package that an AST-based pattern checker for JavaScript. It is extremely widely used, with about 134.4M downloads per week and 36 known dependents in the graph. The latest version is 10.7.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need an AST-based pattern checker for JavaScript and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (134.4M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (89 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of eslint.
Dependencies
Runtime (30)
Peer (1)
Dev (58)
Used by
Popular packages that depend on eslint.
Tiny millisecond conversion utility
the complete solution for node.js command-line programs
Media Type Database
The ultimate javascript content-type utility.
JavaScript parser and stringifier for YAML
A querystring parser that supports nesting and arrays, with a depth limit
HTTP status utility
Modify strings, generate sourcemaps
`Object.defineProperty`, but not IE 8's broken one.
Create HTTP error objects
Store information about any JS value in a side channel. Uses WeakMap if available.
An AST-based pattern checker for JavaScript.
Deprecate all the things
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Node.js final http responder
Higher-level content negotiation
Node.js body parsing middleware
Better streaming static file server with Range and conditional-GET support
Infer the content-type of a request.
Serve static files
Programmatic access to the ARIA specification
Execute a callback when a request closes, finishes, or errors
HTTP response freshness testing
Fast, unopinionated, minimalist web framework
Alternatives to eslint
An Esprima-compatible JavaScript parser built on Acorn
A query library for ECMAScript AST using a CSS selector like query language.
A JavaScript parser
`Object.defineProperty`, but not IE 8's broken one.
Determine whether an AST node is a reference
WebAssembly text format printer
WebAssembly binary format parser
AST utils for webassemblyjs
A robust, ES3 compatible, "has own property" predicate.
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
Tomorrow's ECMAScript modules today!
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Frequently installed together
TypeScript definitions for node
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Delightful JavaScript Testing.
The semantic version parser used by npm.
React is a JavaScript library for building user interfaces.
V8 coverage provider for Vitest
An extremely fast JavaScript and CSS bundler and minifier.
🔎 A simple, tiny and lightweight benchmarking library!
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.
TypeScript definitions for chai
Version history
| Version | Published | License |
|---|---|---|
| 10.7.0latest | 8 days ago | MIT |
| 9.39.5 | 8 days ago | MIT |
| 10.6.0 | 22 days ago | MIT |
| 10.5.0 | 1 month ago | MIT |
| 10.4.1 | 1 month ago | MIT |
| 10.4.0 | 2 months ago | MIT |
| 10.3.0 | 2 months ago | MIT |
| 10.2.1 | 3 months ago | MIT |
| 10.2.0 | 3 months ago | MIT |
| 10.1.0 | 4 months ago | MIT |
| 10.0.3 | 4 months ago | MIT |
| 9.39.4 | 4 months ago | MIT |
| 10.0.2 | 4 months ago | MIT |
| 10.0.1 | 4 months ago | MIT |
| 9.39.3 | 4 months ago | MIT |
| 10.0.0 | 5 months ago | MIT |
| 10.0.0-rc.2 | 5 months ago | MIT |
| 10.0.0-rc.1 | 5 months ago | MIT |
| 10.0.0-rc.0 | 6 months ago | MIT |
| 9.39.2 | 7 months ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install eslint?
Run `npm install eslint` to add eslint to your npm project.
What license is eslint released under?
eslint is distributed under the MIT license.
How popular is eslint?
eslint has approximately 134,398,118 downloads per week and 36 known dependent packages.