New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-couchdb

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-contrib-couchdb

A node-red couchdb node

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

CouchDB nodes Node-RED

Accessor nodes for Apache CouchDB from Node-RED.

Installation

Use npm install node-red-contrib-couchdb to install.

Usage

This package provides some nodes that can be used in conjunction with an Apache CouchDB. Specifically, we can insert new documents and query/retrieve existing documents. For the insertion, we supply the JavaScript document in the msg.payload property which could include the _id property to provide the identity. If we are updating the document, then a valid _rev property should also be present.

For a query/retrieval, we have the choice of either retrieving by id value or by a design document view search. For an id, specify the _id value as the msg.payload. For a design document view retrieval, supply the search key in msg.payload.

In both cases, the document is returned as the output msg.payload.

To connect to the database, the URL for the CouchDB server should be supplied along with the database name for the database to be accessed.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

History

  • 2015-03-04 - First release

Credits

Neil Kolban

License

Apache 2.0

Keywords

FAQs

Package last updated on 05 Mar 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