store-data
v1.2.1
Published
Finally, the simplest way to store data
Downloads
12
Readme
store-data
Finally, the simplest way to store data
Features
- 🌞 Very simple
- 🧷 Sync & Async
- 💡 Types included
Install
npm i store-data
Examples
See typescript and javascript examples here.
const Store = require('store-data')
const users = new Store({
save: false
})
await users.set('id-1', { name: 'Jimi', dev: true })
const user = await users.get('id-1')
console.log(user) // { name: 'Jimi', dev: true }
Docs
All functions are documented with jsdoc on store-data website.
Contribute
Feel free to fork and make pull requests