Skip to content
This repository was archived by the owner on Jul 25, 2025. It is now read-only.

file-storage v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jan 19:34
· 124 commits to main since this release
  • Add fileStorage.put(key, file) method as a convenience around fileStorage.set(key, file) + fileStorage.get(key), which is a very common pattern when you need immediate access to the file you just put in storage
// before
await fileStorage.set(key, file);
let newFile = await fileStorage.get(key)!;

// after
let newFile = await fileStorage.put(key, file);