This repository was archived by the owner on Jul 25, 2025. It is now read-only.
file-storage v0.5.0
·
124 commits
to main
since this release
- Add
fileStorage.put(key, file)
method as a convenience aroundfileStorage.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);