https://github.com/yetone/babeljs-python
Python bindings to babeljs
https://github.com/yetone/babeljs-python
Last synced: 7 months ago
JSON representation
Python bindings to babeljs
- Host: GitHub
- URL: https://github.com/yetone/babeljs-python
- Owner: yetone
- Created: 2015-11-13T16:24:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T06:26:35.000Z (about 8 years ago)
- Last Synced: 2024-09-29T06:22:50.400Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 766 KB
- Stars: 11
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PyBabeljs
============
[](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