Skip to content
forked from toolness/jsondown

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

Notifications You must be signed in to change notification settings

GarthDB/jsondown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Down

Build Status Coverage Status Known Vulnerabilities

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

const levelup = require("levelup");
const jsondown = require("jsondown");

const db = levelup(new jsondown("./mydata.json"));

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

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%