Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisaacson/leveldb-json
Leveldb import & export with json
https://github.com/nisaacson/leveldb-json
Last synced: about 1 month ago
JSON representation
Leveldb import & export with json
- Host: GitHub
- URL: https://github.com/nisaacson/leveldb-json
- Owner: nisaacson
- Created: 2014-04-25T23:24:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-28T14:52:32.000Z (over 10 years ago)
- Last Synced: 2024-09-17T22:43:09.534Z (about 2 months ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LevelDB JSON Load and Dump
[![Build Status](https://travis-ci.org/nisaacson/leveldb-json.svg?branch=master)](https://travis-ci.org/nisaacson/leveldb-json)
[![NPM](https://nodei.co/npm/leveldb-json.png?downloads=true)](https://nodei.co/npm/leveldb-json/)
# Installation
```bash
npm install -g leveldb-json
```# Command Line Usage
To dump the contents of an existing leveldb instance execute
```bash
leveldb-dump-to-json --file /path/to/json/file --db /path/to/leveldb
```To load the contents of previous json dump into a leveldb instance execute
```bash
leveldb-load-from-json --file /path/to/json/file --db /path/to/leveldb
```