Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/junosuarez/node-level-import

import a json file of key value pairs into a level-db database
https://github.com/junosuarez/node-level-import

Last synced: 8 days ago
JSON representation

import a json file of key value pairs into a level-db database

Awesome Lists containing this project

README

        

# level-import
import a json file of key value pairs into a level-db database

see also: [level-export](https://npm.im/level-export)

## usage
```js
var levelImport = require('level-import')
var fs = require('fs')
var level = require('level')

var db = level('./db')
fs.createReadStream('./export.json')
.pipe(levelImport(db))
```

## api

## installation

$ npm install level-import

## running the tests

From package root:

$ npm install
$ npm test

## contributors

- jden

## license

ISC. (c) MMXIV jden . See LICENSE.md