0.0.3 • Published 7 years ago

persistent-localstore v0.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

persistent-localstore

Simple module to set/get variables to/from a JSON file.

usage

    // Prepare the storage.
    var store = require('persistent-localstore')( { filePath: './data.json' } );

    store.set(key, data)    // SET data
    store.get(key)          // GET data
    store.clear()           // PURGE all data

    store.raw               // Object containing all data. Can be modified directly from here.
0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago