Skip to content

Zxilly/UnsafeKV

Repository files navigation

UnsafeKV

Expose Cloudflare KV as RESTful API endpoint.

Develop

yarn install
yarn build

Emitted asset will be available at /dist

Demo

https://unsafekv.zxilly.workers.dev

Endpoint

GET /

List all key, in KVNamespaceListResult format.

KVNamespaceListOptions is available as query parameter.

GET /{key}

Returns the value of the key, if exists.

KVNamespaceGetOptions<"text"> is available as query parameter.

PUT /{key}

Sets the value of the key.

KVNamespacePutOptions is available as query parameter.

DELETE /{key}

Deletes the key if it exists.

License

Opensource under GPLv3, please refer to LICENSE.

About

Expose Cloudflare KV as RESTful API endpoint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published