dexlily
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Dexlily

Meccha simply IndexedDB library.

Usage

// Setup
const upgradeFn = ^^; // Upgrade Function
const dexlily = new Dexlily("MyDataBase", 1, upgradeFn);


// Store access
const store = dexlily.store("MyData")

store.set("name", "Cano"); // I'm Cano!
store.get("name"); // Oh, it's my name. Cano.
store.remove("name"); // Ah! I've lost my name.


dexlily.destroy(); // Destroy DB

Readme

Keywords

Package Sidebar

Install

npm i dexlily

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

7.05 kB

Total Files

13

Last publish

Collaborators

  • cano