Socket
Socket
Sign inDemoInstall

couchdb-bulk

Package Overview
Dependencies
56
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    couchdb-bulk

Pipe line-seperated JSON into CouchDB


Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Install size
3.88 MB
Created
Weekly downloads
 

Readme

Source

CouchDB Bulk

This is a little command line tool meant to eat line seperated JSON (CouchDB documents) on stdin and POSTing them to the _bulk_docs endpoint of a CouchDB server.

Build
Status

Installation

npm install -g couchdb-bulk

API

const bulk = require('couchdb-bulk')

const url = 'http://localhost:5984/mydb'

process.stdin
  .pipe(bulk(url))
  .pipe(process.stdout)

CLI

For options and examples, use the built-in help

couchdb-bulk --help

Example:

cat test.jsonl | couchdb-bulk http://localhost:5984/testdb

Keywords

FAQs

Last updated on 05 Mar 2018

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