ast-i18n
ast-i18n copied to clipboard
Create npm module for converter
Currently, in order to use this module you need to:
- Check out this repo locally
- install jscodeshift globally or use
npx
to call jscodeshift globally.
This lib could be published as npm module in a way, that it is callable same as jscodeshift. So anyone who would want to use this, could execute some command like:
npx ast-i18n --config config.js --path my-project/src
check this to run jscodeshift transformer as a cli
https://github.com/reakit/reakit/blob/master/packages/reakit-codemods/bin/reakit-codemods.js