The python binding for babel compiler
Project description
# PyBabeljs
PyBabeljs is a python binding of [Babel](https://babeljs.io/).
## Installation
$ pip install PyBabeljs
## Usage
```python
from babeljs import transformer
transformer.transform_string('const a = () => 233')
transformer.transform('path/to/test.js')
```
## License
MIT
PyBabeljs is a python binding of [Babel](https://babeljs.io/).
## Installation
$ pip install PyBabeljs
## Usage
```python
from babeljs import transformer
transformer.transform_string('const a = () => 233')
transformer.transform('path/to/test.js')
```
## License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyBabeljs-0.0.1.tar.gz
(269.6 kB
view hashes)
Built Distribution
Close
Hashes for PyBabeljs-0.0.1.macosx-10.11-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2de5314521eb256bf968b2a2bf520c2d19ad1adb74ed49ec7a5c55ae2cce15 |
|
MD5 | 04cac047f531c78c03e88080fb285552 |
|
BLAKE2b-256 | 9ad8ecd16fbbac8f7d332678bfe388abb9cbbcf5d63b680e8a6c01b01aee8dde |