Skip to content

samnymr/ruby-babel-transpiler

 
 

Repository files navigation

Ruby Babel Transpiler

Ruby Babel is a bridge to the JS Babel transpiler.

require 'babel/transpiler'
Babel::Transpiler.transform File.read("foo.es6")

Installation

$ gem install babel-transpiler

Dependencies

This library depends on the babel-source gem which is updated any time a new version of Babel is released.

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.

About

Ruby Babel is a bridge to the JS Babel transpiler.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 60.1%
  • Shell 37.7%
  • HTML 2.2%