@axel669/json-cabinet
v0.1.1
Published
Simple JSON storage service with what I hope is a good free tier.
Downloads
1
Readme
JSON Cabinet
Simple JSON storage service with what I hope is a good free tier.
Usage
import cabinet from "@axel669/json-cabinet"
const files = cabinet({
clientID: "****",
apiKey: "****"
})
await files.write(name, value)
await files.read(name)
Value can be any JSON stringifyable value. Values that are removed in during stringify will not be saved. Stringified value cannot exceed 10KB in size or the service will reject the write request.
API keys with different prefixes will never write to each others files and can be treated as separate cabinets.