Skip to content

lukehorvat/babby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babby NPM version Status

A thin wrapper around Babel v6 to enable advanced plugins.

"Advanced" plugins can modify Babel's parser to add new tokenizer token types and AST node types! 😎

Not sure what that means? See here: babel/babylon#22

Installation

Install the package with NPM:

$ npm install babby

Usage

To use Babby, simply substitute it in place of whichever Babel package you're currently using to transpile code (i.e. babel-cli, babel-register, etc.). Everything else should work, no further changes necessary.

For a full example, see here: https://github.com/lukehorvat/babby-example

Advanced Plugins

The following "advanced" Babel plugins have been developed so far:

If you've created a plugin and want it added to the list, send me a pull request.

About

A thin wrapper around Babel v6 to enable "advanced" plugins. Experimental.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors