UNPKG

noflo-nodejs

Version:

Command-line tool for running NoFlo programs on Node.js

8 lines (5 loc) 152 B
const noflo = require('noflo'); function output(value) { console.log('Got value', value); } exports.getComponent = () => noflo.asComponent(output);