babel-plugin-always-constraint
A babel plugin to rewrite statements labelled with always to linear constraints
Live editable at http://astexplorer.net/#/JrmlrJciNw/7
Example
Transforms
something
to
something else
Installation
$ npm install babel-plugin-always-constraint
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins always-constraint script.js
Via Node API
;