@lyo/store

2.0.12 • Public • Published

@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

Dependents (0)

Package Sidebar

Install

npm i @lyo/store

Weekly Downloads

0

Version

2.0.12

License

MIT

Unpacked Size

14.3 kB

Total Files

3

Last publish

Collaborators

  • lyo