Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

dottystore

1.0.0 • Public • Published

SimpleStore

A simple key:value store that supported dotted anotation thanks to dot-prop.

Installation

Via npm on Node:

npm install dottystore

Reference in your program:

const { Store } = require('dottystore')

Usage

const store = new Store()
 
store.set('some.value', true)
console.log(store.get('some.value')) // == true

Development

git clone git@github.com/loicmahieu/dottystore.git
cd dottystore
npm install
npm test

Contribution

Feel free to file issues and submit pull requests - contributions are welcome.

Install

npm i dottystore

DownloadsWeekly Downloads

89

Version

1.0.0

License

MIT

Unpacked Size

3.7 kB

Total Files

4

Last publish

Collaborators

  • avatar