The python binding for babel compiler
Project description
PyBabeljs
============
[![Build Status](https://api.travis-ci.org/yetone/babeljs-python.svg?branch=master)](https://travis-ci.org/yetone/babeljs-python)
PyBabeljs is a python bindings to [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
============
[![Build Status](https://api.travis-ci.org/yetone/babeljs-python.svg?branch=master)](https://travis-ci.org/yetone/babeljs-python)
PyBabeljs is a python bindings to [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.7.tar.gz
(244.6 kB
view hashes)
Built Distribution
PyBabeljs-0.0.7-py2-none-any.whl
(255.0 kB
view hashes)
Close
Hashes for PyBabeljs-0.0.7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd25968b4741a5718d1d8a628520ba8e3b19fbc21bd03762d66581cc94b15caf |
|
MD5 | 59ee6d9cd0fb06669a1b5f0f490011dc |
|
BLAKE2b-256 | 90dd6a9f0b47d174ffdcd2ea27e9eb4bda76cd27d49a2e9cd8f02c76a8afca43 |