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

https://github.com/sergeysova/peg-rb-js


https://github.com/sergeysova/peg-rb-js

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## Ruby-like syntax for JavaScript(Babel)

```rb
import React from 'react'
import (Component, PropTypes as PT, PureComponent) from 'react'
import React, (PureComponent, PropTypes as PT) from 'react'

def simple
end

def bang!
end

def ask?
end

def params a,b
end

def params1(a,b)
end

def with_bang! a,b
end

def with_ask?(a,b)
end

class Example
end

class Foo < Bar
end

```