Readme

Delete blobs by prefix

Utility to delete your blobs by prefix

1
2
3
4
5
import { blob } from "https://esm.town/v/std/blob?v=11";
export async function deleteBlobs(prefix: string) {
(await blob.list(prefix)).forEach(({ key }) => blob.delete(key));
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
March 7, 2024