babel-preset-flow-node
This is preset containing all the flow babel plugins / presets to produce output compatible with latest nodejs.
Babel preset for flow code targeting nodejs.
This preset includes the following plugins & presets:
Installation
npm install --save-dev babel-preset-flow-node
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
babel --presets flow-node script.js
Via Node API