Registry / devops / eslint_d

eslint_d

JSON →
library15.0.2jsnpmunverified

eslint_d is a drop-in replacement for ESLint that runs linting in a persistent background daemon, drastically reducing startup latency (e.g., ~300ms to ~100ms per run on modern hardware). Version 15.0.2 requires Node.js >=22 and supports ESLint v4 through v10. It automatically starts, stops, and restarts the server, binds to parent/editor processes, and falls back to a bundled ESLint if a local one is missing. Key differentiators include environment variables for fine-tuning behavior, support for monorepos via `ESLINT_D_ROOT`, and a `--fix-to-stdout` option for editor integration. Unlike editor-built-in caches, it provides speed benefits to Vim, Neovim, Emacs, and Sublime Text, while Atom, VSCode, and WebStorm gain little due to their own caching.

npm install eslint_d
INSTALL
IMPORT
SIG · ESLINT_D
E
eslint_d
devopsjavascriptv15.0.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

eslint_d CLI
npx eslint_d --version
eslint_d # must be installed globally or via npx
eslint_d is a CLI tool, not a library; use it directly in terminal or editor config.

Global installation of eslint_d and usage of its CLI commands for linting, daemon control, and fix-to-stdout.

npm install -g eslint_d # Lint a file eslint_d file.js # Start daemon explicitly eslint_d start # Status eslint_d status # Fix to stdout (requires --stdin) echo 'let x = 1' | eslint_d --stdin --fix-to-stdout # Stop daemon eslint_d stop
eslint_d --version
Debug
Known issues
breakingeslint_d v15 requires Node.js >=22. Older Node versions will not work.
fix
Upgrade Node.js to 22+ or use eslint_d v14.x if on earlier Node versions.
affects: >=15.0.0
gotchaEditors like Atom, VSCode, and WebStorm already cache ESLint; using eslint_d may not improve performance and can cause conflicts.
fix
Do not configure eslint_d in those editors; stick with built-in ESLint support.
affects: all
gotchaIf ESLINT_D_PPID is not set and ESLINT_D_IDLE is 0, the daemon may never exit automatically, consuming resources.
fix
Set ESLINT_D_PPID to 'auto' or a specific PID, or set ESLINT_D_IDLE to a positive number of minutes.
affects: all
deprecatedCommonJS require() patterns for eslint_d are deprecated; it is ESM-only since v15.
fix
Use ES module imports if using as dependency (though primarily CLI). For CLI usage, use npx or global install.
affects: >=15.0.0
Errors
Common errors & fixes
Failed to start daemon: EADDRINUSE
Another eslint_d instance or process is already using the default port.
fix
Run 'eslint_d stop' to kill the existing daemon, then restart.
eslint_d: command not found
eslint_d is not installed globally or not in PATH.
fix
Install globally: 'npm install -g eslint_d'. Or use 'npx eslint_d'.
Error: No matching ESLint version found. ESLint v10.0.0 is not supported.
eslint_d has a bundled ESLint that may not match the local project's version, or the installed ESLint version is out of support range (v4-v10).
fix
Ensure local eslint version is between 4 and 10. Update eslint or use a compatible version.
Upgrade
Version history
15.0.2latest on npm
Audit
Dependencies
eslintoptionaleslint_d wraps and calls ESLint; local or bundled version must be compatible.
Agent activity
6 hits · last 30 days
node
6
Resources
eslint_d — npm install eslint_d · libregistry