cjs-fixer

1.0.0 • Public • Published

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

/cjs-fixer/

    Package Sidebar

    Install

    npm i cjs-fixer

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.63 kB

    Total Files

    5

    Last publish

    Collaborators

    • remahmoud