An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

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