@lyo/store
v2.0.12
Published
Browser-compatible version of store
Downloads
6
Readme
@lyo/store
A browser-compatible version of store built automatically with Lyo.
Usage
In a browser
<script src="https://cdn.jsdelivr.net/npm/@lyo/store"></script>
<script>
store.get(foo, bar);
store.set(foo, bar);
store.remove(foo);
store.each(foo);
store.clearAll();
store.hasNamespace(foo);
store.createStore();
store.addPlugin(foo);
store.namespace(foo);
</script>
In Node.js
# Install
npm i @lyo/store
const store = require('@lyo/store')
store.get(foo, bar);
store.set(foo, bar);
store.remove(foo);
store.each(foo);
store.clearAll();
store.hasNamespace(foo);
store.createStore();
store.addPlugin(foo);
store.namespace(foo);
Disclaimer
This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.
Use at your own risk