A Node.js loader for Flow. Strip Flow types with flow-remove-types before Node execution.
npm install node-loader-flow --save-dev
# or
pnpm add node-loader-flow --save-dev
# or
yarn add node-loader-flow --dev
Using the module hook:
node --import node-loader-flow/register file.js
Using the module loader (deprecated):
node --loader node-loader-flow file.js
Using Node test runner:
node --import node-loader-flow/register --test
node-loader-flow is unlicensed.