Project

esnext

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Ruby esnext is a bridge to the JS esnext compiler.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

esnext for Ruby

This library is a Ruby bridge to the official esnext compiler.

Esnext.compile File.read("script.js")

Installation

gem install esnext

Dependencies

This library vendors esnext.js, a bundled standalone version that can run in any JS environment. In addition, you can use this library with any version of esnext by setting the ESNEXT_SOURCE_PATH environment variable:

export ESNEXT_SOURCE_PATH=/path/to/esnext.js

ExecJS

The ExecJS library is used to automatically choose the best JavaScript engine for your platform. Check out its README for a complete list of supported engines.