cli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.
npm install -g cjs-fixeroption is:
-f or --file
cjs-fixer -f ./path/to/file.jsoption is:
-d or --dir
cjs-fixer -d ./path/to/dirPull requests and stars are always welcome. For bugs and feature requests, please create an issue.