PyBabeljs is a python bindings to Babel.
$ pip install PyBabeljs
from babeljs import transformer
transformer.transform_string('const a = () => 233')
transformer.transform('path/to/test.js')
MIT
PyBabeljs is a python bindings to Babel.
$ pip install PyBabeljs
from babeljs import transformer
transformer.transform_string('const a = () => 233')
transformer.transform('path/to/test.js')
MIT