undefinedDeprecated: use node-modules-inspector instead.
CLI to check your project’s ESM support status
Run the following command in your project root:
pnpx are-we-esm
[!NOTE]
Only works with pnpm projects
--simple - Simplified the module type to CJS and ESM. Consider DUAL as ESM, FAUX as CJS (default: false)--prod - Check only the production dependencies--dev - Check only the development dependencies--exclude - Exclude packages from the check, e.g. --exclude="eslint,eslint-*,@eslint/*"--all - Print all packages, including those that are ESM compatible (default: false)--list - Print the flat list of packages, instead of tree (default: false)--depth - Limit the depth search of the tree (default: 25)--prodThanks to the following projects and their authors for inspiration:
MIT License © 2025-PRESENT Anthony Fu
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.