Recipes
Prebuilt patterns for common Puter.js tasks — the recommended way to do each of these. Copy one rather than working it out from the API reference.
Append items to a growing list
Keep an append-only list such as an event log or a chat history as a real array in one entry, so adding to it is a single write that never reads the list first.
Managing a list of objects inside a key-value entry
Store items such as todos, tasks or saved records as an object keyed by id in one entry, so changing or removing one of them is a single write instead of rewriting the whole value.
Managing a collection of key-value entries
Give each record its own key under a shared prefix, so single records are written, changed and expired directly while the collection is read back a slice at a time.
No recipes match these filters.