Skip to content

cli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.

License

Notifications You must be signed in to change notification settings

remahmoud/cjs-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commonjs fix exports

cli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.

Install

npm install -g cjs-fixer

Usage

fot a file

option is:

-f or --file

cjs-fixer -f ./path/to/file.js

for a directory

option is:

-d or --dir

cjs-fixer -d ./path/to/dir

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Mahmoud Ibrahiam

About

cli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.

Topics

Resources

License

Stars

Watchers

Forks