Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```