Socket
Socket
Sign inDemoInstall

ndjson-to-couchdb

Package Overview
Dependencies
79
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ndjson-to-couchdb

Stream ndjson to couchdb


Version published
Maintainers
1
Created

Readme

Source

ndjson-to-couchdb

Pipe ndjson into couchdb. Strems out the doc with the new _id and _rev.

Install

npm i ndjson-to-couchdb -g

Usage

cat tests/assets/example.njson | ndjson-to-couchdb http://localhost:5984/test

Options

  • --force=true if there is an existing doc with the same _id fetch the existing _rev and overwrite the doc.
  • --key=keyname the name of the field to use to set the primary key value.
  • --prev_rev_fiel=prev_rev add a field to the emitted doc with name 'prev_rev' that will hold the last _rev before the update

Keywords

FAQs

Last updated on 15 Jun 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc