{"library":"babel-plugin-transform-commonjs-es2015-modules","type":"library","category":null,"description":"Babel plugin that transforms CommonJS require/exports syntax into ES2015 import/export statements. Version 4.0.1 is stable but not actively maintained; the package saw its last release in 2017. It supports most popular CommonJS patterns, including those generated by Babel's own CJS transform. Unlike similar tools (cjs-to-es6, lebab), it operates as a Babel plugin, making it easy to integrate into existing Babel pipelines. The transformation is lossy in some edge cases (e.g., dynamic requires or module.exports reassignment) and does not handle all CJS idioms.","language":"javascript","status":"maintenance","version":"4.0.1","tags":["javascript","babel-plugin","es2015","modules","export","import","module","exports","commonjs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-commonjs-es2015-modules","imports":["import plugin from 'babel-plugin-transform-commonjs-es2015-modules'","plugins: ['transform-commonjs-es2015-modules']"]},{"cmd":"yarn add babel-plugin-transform-commonjs-es2015-modules","imports":[]},{"cmd":"pnpm add babel-plugin-transform-commonjs-es2015-modules","imports":[]}],"homepage":"https://gitlab.com/sebdeckers/babel-plugin-transform-commonjs-es2015-modules#README","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-commonjs-es2015-modules","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-commonjs-es2015-modules/compatibility"}}