netlify-blobs
Installation
SKILL.md
Netlify Blobs
Modern import — reach for this:
import { getStore, getDeployStore, listStores } from "@netlify/blobs";
Install: npm install @netlify/blobs. Fetch API is required (built into Node 18+); otherwise pass a custom fetch.
Two ways to open a store — use the options-object form when you need consistency or a custom fetch (the string form cannot pass them):
const store = getStore("file-uploads"); // string form
const store = getStore({ name: "animals", consistency: "strong" }); // options form
siteID, token, deployID, and region are set automatically inside Functions, Edge Functions, and Build Plugins — do not pass them manually there.