2.0.12 • Published 6 years ago

@lyo/store v2.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

@lyo/store

A browser-compatible version of store built automatically with Lyo.

Version Build Hits

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

2.0.12

6 years ago