Published
Edited
Sep 8, 2021
Insert cell
md`# Example for [#349](https://github.com/ipfs-shipyard/nft.storage/issues/349)`
Insert cell
Insert cell
Insert cell
Insert cell
client = new NFTStorage({
token: Secret("NFT_STORAGE_TOKEN")
})
Insert cell
image = FileAttachment("gozala.jpg").blob()
Insert cell
pic = FileAttachment("GozalaPinq.jpg").blob()
Insert cell
token = client.store({
name: "gozala",
description: "gozala portrait",
image: new File([image], 'gozala.jpg', { type: image.type }),
properties: {
message: 'hello world',
another: {
pic
}
}
})
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more