UNPKG

node-red-contrib-jdbc

Version:

Node-RED node to access database using JDBC driver

8 lines (6 loc) 214 B
const fs = require('fs'); const path = require("path"); module.exports = function (RED) { const flow = fs.readFileSync(path.join(__dirname, "subflow.json")); RED.nodes.registerSubflow(JSON.parse(flow)); }