Hacker News new | ask | show | jobs
by gardentheory 3604 days ago
This seems pretty cool. I just tried using jslint to lint a file, it works! https://gist.github.com/ianjosephwilson/7c6c0a2c833e92b3a82c...
1 comments

The PyMiniRacer repository is also bundled with a BabelJS (https://babeljs.io/) example:

https://github.com/sqreen/PyMiniRacer/blob/master/helpers/ba...

You can easily try it once PyMiniRacer is installed to transpile JavaScript files:

cat some-file.js | python helpers/babel.py