8000 GitHub - dxos/jsondown: A drop-in replacement for LevelDOWN that writes to a JSON file on disk.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dxos/jsondown

 
 

Repository files navigation

Travis

This is a drop-in replacement for LevelDOWN that writes to a JSON file on disk.

It also retains the contents of the entire JSON file in memory, so it's only really useful for debugging purposes and/or very small data stores that need just a pinch of persistence.

Example

var levelup = require('levelup');
var db = levelup('./mydata.json', { db: require('jsondown') });

db.put('foo', 'bar');

Alternative Runtimes

In addition to NodeJS, JsonDOWN can be used on the RuntimeJS javascript unikernel. Additional details are provided in the guides section of this repositiory.

About

A drop-in replacement for LevelDOWN that writes to a JSON file on disk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0