Skip to content

digidem/osm-p2p-mem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

osm-p2p-mem

Create an osm-p2p-db instance backed entirely by in-memory storage.

Quick and easy! Each instance has no shared mutable global state. Great for use in unit tests.

Usage

var osmdb = require('osm-p2p-mem')

var osm = osmdb()

// ready to use! no async wait.

API

var osmdb = require('osm-p2p-mem')

var osm = osmdb()

No arguments. Creates a new osm-p2p-db instance.

Install

With npm installed, run

$ npm install osm-p2p-mem

See Also

License

ISC

About

Create an osm-p2p-db instance backed entirely by in-memory storage.

Resources

Stars

Watchers

Forks

Packages

No packages published