Specify KV namespaces to add to your environment as follows:
You can now access KV namespaces in your workers:
Miniflare supports all KV operations and data types.
Manipulating Outside Workers
For testing, it can be useful to put/get data from KV outside a worker. You can
do this with the getKVNamespace
method:
Thank you for helping improve Cloudflare's documentation!