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: 9 months ago
JSON representation
import a json file of key value pairs into a level-db database
- Host: GitHub
- URL: https://github.com/junosuarez/node-level-import
- Owner: junosuarez
- License: isc
- Created: 2014-05-22T23:41:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-22T23:42:29.000Z (about 12 years ago)
- Last Synced: 2025-02-15T16:46:19.950Z (over 1 year ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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