Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 433 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 433 Bytes

PyBabeljs

Build Status

PyBabeljs is a python bindings to Babel.

Installation

$ pip install PyBabeljs

Usage

from babeljs import transformer

transformer.transform_string('const a = () => 233')
transformer.transform('path/to/test.js')

License

MIT