dottystore

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

Usage no npm install needed!

<script type="module">
  import dottystore from 'https://cdn.skypack.dev/dottystore';
</script>

README

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.