Features
Explore
About
Docs
Pricing
Log in
Sign up
Log in
Sign Up
stevekrouse
/
blobDemo
Fork
0 Likes
Code
Comments
Pull Requests
Forks
3
References
Dependency
1
blobDemo
Script
v3
Fork
1
2
3
4
import
{
blob
}
from
"https://esm.town/v/std/blob?v=3"
;
await
blob
.
setJSON
(
"myKey"
,
{
foo
:
"bar"
}
)
;
export
let
blobDemo
=
await
blob
.
getJSON
(
"myKey"
)
;
👆 This is a val. Vals are TypeScript snippets of code, written in the browser and run on our servers. Create scheduled functions, email yourself, and persist small pieces of data — all from the browser.
Sign up for free
?