Skip to content

Replacements

When using the ESLint plugin or the CLI, you may be suggested replacement modules for dependencies you have. This is a list of replacements, along with their migration guides and any useful information.

What are these?

The e18e community maintains a list of modules and their recommended replacements via the module-replacements repository.

Typically, a module might be flagged as replaceable if it:

  • Is no longer actively maintained
  • Has more performant or modern alternatives
  • Has known security vulnerabilities
  • Lacks support for modern JavaScript features (e.g. ES Modules, TypeScript)

Where it was not possible to contribute upstream to the existing modules, replacement modules have been created by the wider community in most cases.

List of replaceable modules

NOTE

This is not an exhaustive list - similar modules to the ones listed here can often be replaced by roughly the same steps.

ModuleAuto-fixable
@jsdevtools/ez-spawn
axios
bluebird
body-parser
buf-compare
buffer-equal
buffer-equals
builtin-modules
chalk☑️
core-util-is
cpx
crypto-js
deep-equal☑️
depcheck
dot-prop
dotenv
emoji-regex
eslint-plugin-es
eslint-plugin-eslint-comments
eslint-plugin-import
eslint-plugin-node
eslint-plugin-react
eslint-plugin-vitest
execa
ez-spawn
faker
fast-glob
find-cache-dir
find-cache-directory
find-file-up
find-pkg
find-up
fs-extra
glob
globby
graphemer
invariant
is-builtin-module☑️
jQuery
js-yaml
jsx-ast-utils
lint-staged
lodash-underscore
materialize-css
md5☑️
mkdirp
moment
npm-run-all
object-hash
ora
path-exists
pkg-dir
qs
read-package-up
read-pkg
read-pkg-up
readable-stream
rimraf
shortid
sort-object
string-width
strip-ansi
tempy
traverse☑️
uri-js
utf8
xmldom

Released under the MIT License. (38bda39a)