@squarecloud/blob
Version:
Official Square Cloud Blob SDK for NodeJS
15 lines (9 loc) • 295 B
text/typescript
import type { ListObjectsType } from "../src";
import { blob } from "./index.test";
const listOptions: ListObjectsType = {
prefix: "test",
};
// List objects with filter by prefix
blob.objects.list(listOptions).then(console.log);
// List all objects
blob.objects.list().then(console.log);