from node red flow to Node js application

1,180 views
Skip to first unread message

Revathi

unread,
Jan 15, 2018, 7:52:16 AM1/15/18
to Node-RED
Hi,


I want to migrate all of my node-red flow into a Nodejs application, I tried to look for the ways , i came across  this https://nodered.org/docs/creating-nodes/first-node ,however just package.json is not enough , some more understanding and examples would be helpful.

Thank you.


Mark Setrem

unread,
Jan 15, 2018, 8:28:43 AM1/15/18
to Node-RED
What makes you think that there is a way for you to convert a node-red flow to a stand alone node.js application?

Nick O'Leary

unread,
Jan 15, 2018, 9:07:00 AM1/15/18
to Node-RED Mailing List
Hi,

Node-RED doesn't do code generation - so there's no easy way to take a flow and get the node.js equivalent code.

You can embed the node-red runtime into your own node.js app - high-level docs for that are on the site. It really depends on what your requirements are.

Nick

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/4c9a31c6-be10-4951-ac9f-59fe857d42ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages