1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/storage/leveldb
Sam Machin 2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
..
icons Update some icons 2014-06-04 22:29:09 +01:00
locales/en-US added i18n help files (#766) 2021-03-12 13:17:23 +00:00
67-leveldb.html added i18n help files (#766) 2021-03-12 13:17:23 +00:00
67-leveldb.js Let LevelDB node handle json object (and binary) as well as text. 2020-02-17 22:42:56 +00:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
package.json Update package.jsons for mono-repo (#851) 2021-11-02 15:22:30 +00:00
README.md update storage nodes info style 2016-03-02 13:27:52 +00:00

node-red-node-leveldb

A Node-RED node to read and write to a LevelDB database.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-leveldb

Usage

Allows basic access to a LevelDB database.

Uses LevelDB for a simple key value pair database.

There are two node to choose from...

Use one node to either put (store) the msg.payload to the named database file, using msg.topic as the key, or to delete information select delete in the properties dialogue and again use msg.topic as the key.

Use the other node to get, or retrieve the data already saved in the database.

Again use msg.topic to hold the key for the database, and the result is returned in msg.payload. If nothing is found for the key then null is returned.