{"repo":"glynnbird/couchimport","free":true,"listed":false,"github":"https://github.com/glynnbird/couchimport","clone":"git clone https://github.com/glynnbird/couchimport.git","description":"CouchDB import tool to allow data to be bulk inserted","language":"JavaScript","stars":138,"topics":["couchdb","csv","import","export","command-line"],"license":null,"category":"cli-tools","readme_excerpt":"couchimport Introduction When populating CouchDB databases, often the source of the data is initially some JSON documents in a file, or some structured CSV/TSV data from another database's export. couchimport is designed to assist with importing such data into CouchDB efficiently. Simply pipe a file full of JSON documents into couchimport , telling it the URL and database to send the data to and couchimport will batch the documents into batches and employ CouchDB's bulk import API. Note: couchimport used to handle the CSV to JSON conversion, but this part is now handled by csvtojsonlines, keeping this package smaller and easier to maintain. The couchimport@1.6.5 package is the last version to support CSV/TSV natively - from 2.0 onwards, couchimport is only for pouring JSONL files into CouchDB. Also note: the companion CSV export utility (couchexport) is now hosted at couchcsvexport. Installation Install using npm or another Node.js package manager: Usage couchimport can either read JSON docs (one per line) from stdin e.g. or by passing a filename as the last parameter: couchimport 's configuration parameters can be stored in environment variables or supplied as command line arguments. Configuration - environment variables Simply set the COUCH URL environment variable e.g. for a hosted Cloudant/CouchDB database and define the name of the CouchDB database to write to by setting the COUCH DATABASE environment variable e.g. Simply pipe the text data into \"couchimport\": Configurin","default_branch":null,"files":null,"tree":[],"storefront":"/r/glynnbird","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/glynnbird/couchimport/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}