babel-preset-flow-runtime
v0.7.0
Published
Babel preset for flow-runtime
Downloads
11
Readme
babel-preset-flow-runtime
Babel preset for flow-runtime
Install
npm install --save-dev babel-preset-flow-runtime
yarn add --dev babel-preset-flow-runtime
Usage
Via .babelrc
.babelrc
{
"presets": ["flow-runtime"]
}
Via CLI
babel script.js --presets flow-runtime
Via Node API
require("babel-core").transform("code", {
presets: [require('babel-preset-flow-runtime')]
});