1
2
3
4
5
6
7
8
9
10
11
12
import { blob } from "https://esm.town/v/std/blob";
await blob.setJSON("myKey", { hello: "world" });
let blobDemo = await blob.getJSON("myKey");
console.log(blobDemo);
let allKeys = await blob.list();
console.log(allKeys[0].key);
console.log(allKeys);
const appKeys = await blob.list("app_");
console.log(appKeys); // all keys that begin with `app_`