• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
lightweight

lightweight

blob-storage

Remix of pomdtr/blob-storage
Public
Like
blob-storage
Home
Code
3
README.md
example.ts
mod.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

Val-scoped storage powered by blobs

This val pairs the lowdb lib with val.town built-in blob storage.

Usage:

Create val
import { blobStorage } from "https://esm.town/v/pomdtr/blob-storage/mod.ts"; const storage = await blobStorage( { posts: [] } as { posts: string[] } // default data, used for types ]); // use the update method to mutage the data await storage.update(({ posts }) => { posts.push("Hello"); }); // use the `data` attribute to read console.log(storage.data.posts)
Code
README.mdexample.tsmod.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.