Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 287 Bytes

File metadata and controls

23 lines (16 loc) · 287 Bytes

db1-js

Get Started

Install db1:

npm install db1

Start setting and getting items:

import { db1 } from "db1";

async function main() {
  await db1.setItem("topic", "hello world");
  const item = await db1.getItem("topic");
  console.log(item);
}

main();