Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-flows-mongo-user

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-flows-mongo-user

Node Red Module to store Flows and the library in Mongo for a specific user.

  • 0.5.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Node Red Flows Storage in Mongo

This module allows you to store your flows and library entries in MongoDB.

It's incredibly crude, and slow for large numbers of library entries, but it does the job for my use case and scale.

Pull requests welcome!

Usage

For this one, you'll need a separate script to start your Node Red, as per the guide for running a custom Node-Red inside your process:

http://nodered.org/docs/embedding.html

Firstly, require the module:

npm install --save node-red-flows-mongo

Then, in your settings, add:

var settings = {
	...
	storageModule: require("node-red-flows-mongo"),
	mongoUrl: 'mongodb://localhost/nodered',
	...
};

Your mongoUrl could also be an environment variable, with `process.env.MONGO_URL'.

Keywords

FAQs

Package last updated on 19 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc