import { LemonsqueezyClient } from "lemonsqueezy.ts";
const client = new LemonsqueezyClient("YOUR_API_KEY");
const store = await client.retrieveStore({
id: "...",
});
const stores = await client.listAllStores();
import { retrieveStore, listAllStores } from "lemonsqueezy.ts/store";
const store = await retrieveStore({
apiKey: "YOUR_API_KEY",
id: "...",
});
const stores = await listAllStores({
apiKey: "YOUR_API_KEY",
});