Registry / testing / esprint

esprint

JSON →
library3.6.0jsnpmunverified

esprint (v3.6.0) is a parallelized ESLint runner that speeds up linting by running the linting engine across multiple threads. It sets up a server daemon to cache lint results in memory and uses a file watcher to only lint changed files. It also offers a CI mode that runs linting in parallel without a daemon. Maintenance is sporadic; the last release was in 2021. Key differentiators include automatic CPU core utilization, a background server for caching, and a dedicated CI mode. Requires Node >=12 and ESLint >=7.

npm install esprint
INSTALL
IMPORT
SIG · ESPRINT
E
esprint
testingjavascriptv3.6.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

esprint (CLI)
✓ npx esprint
✗ npx eslint
esprint is primarily a CLI tool; there is no JavaScript API export.
esprint check
✓ npx esprint check
✗ npx eslint .
Use 'esprint check' for CI mode (no daemon).
esprint stop
✓ npx esprint stop
✗ kill <pid>
Stops the background server and clears cache.

Configure paths in .esprintrc, then run esprint in default or CI mode.

// .esprintrc { "paths": ["src/**/*.js"], "ignored": ["**/node_modules/**"], "port": 5004 } // Terminal esprint --workers=4 esprint check --fix
esprint --version
Debug
Known issues
breakingThe option to specify number of workers has been removed from .esprintrc in v0.4.0-beta.10.
fix
Use --workers CLI argument instead of .esprintrc configuration.
affects: >=0.4.0-beta.10
deprecatedesprint is no longer actively maintained; no releases since 2021.
fix
Consider alternatives like eslint-plugin-only-warn or lint-staged with parallel.
affects: >=3.0.0
gotchaesprint requires .esprintrc file in project root; absence causes error.
fix
Create a .esprintrc file in your project root with paths and ignored lists.
affects: >=0.4.0
gotchaRunning esprint from a subfolder may not work correctly if .esprintrc is not at project root.
fix
Ensure .esprintrc is in the root directory.
affects: <0.4.0
gotchaesprint uses a background server on a port; conflicts with other services possible.
fix
Specify a different port in .esprintrc or use esprint check to avoid daemon.
affects: >=0.4.0
Errors
Common errors & fixes
Error: No .esprintrc file found
Missing configuration file in project root.
fix
Create a .esprintrc file with paths and ignored fields.
Error: Cannot find module 'eslint'
ESLint peer dependency not installed.
fix
Run npm install eslint@>=7
Error: Port 5004 is already in use
Another process is using the default or configured port.
fix
Specify an unused port in .esprintrc or kill the offending process.
Upgrade
Version history
3.6.0latest on npm
Audit
Dependencies
eslintrequiredPeer dependency: esprint runs ESLint internally
Agent activity
14 hits · last 30 days
node
14
Resources
esprint — npm install esprint · libregistry