babel-plugin-syntax-monad-notation
Allow parsing of monad notation.
Installation
$ npm install babel-plugin-syntax-monad-notation
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["syntax-monad-notation"]
}
Via CLI
$ babel --plugins syntax-monad-notation script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["syntax-monad-notation"]
});