localdown
v1.0.0
Published
A localStorage implementation of the LevelDOWN API
Downloads
2
Maintainers
Readme
localdown
A localStorage implementation of the LevelDOWN API
About
LocalDOWN is a drop-in replacement for LevelDOWN
that uses node-localstorage
to persist changes.
Example (ES6)
import localdown from 'localdown';
import levelup from 'levelup';
const db = levelup(localdown('./mydb'));
db.put('foo', 'bar');
Constructor
localdown(location[,quota])
- location - file path
- quota - storage quota, optional