eslint-cjs-to-esm

JSON →
library 6.2.0 ·javascript
verified Jun 7, 2026

ESLint wrapper for migrating JavaScript/TypeScript projects from CommonJS (CJS) to ES Modules (ESM). Version 6.2.0. This tool bundles a set of ESLint rules (e.g., from eslint-plugin-import, eslint-plugin-node) with autofix support to automate the migration. Unlike manual ESLint configuration, it provides a zero-config CLI that wraps standard ESLint arguments. It is actively maintained and supports both .js and .ts file extensions. The tool is designed for one-time migration, not as a permanent linting setup.