kv-connect-kit

Minimal Typescript client implementing the KV Connect protocol. Access Deno KV remotely from any Javascript environment like Node, Cloudflare Workers, Bun, Deno, and the browser.

MIT License

Downloads
208
Stars
56
Committers
1

Bot releases are visible (Hide)

kv-connect-kit - v0.0.5 Latest Release

Published by johnspurlock-skymethod 11 months ago

  • support the new v2 version of the kv connect protocol, works against self-hosted denokv backends.
  • new in-memory implementation
  • new convenience openKv top-level export to support in-memory/remote/napi-sqlite implementations seamlessly
  • NPM package

Usage

See the project readme for usage and quick starts: https://github.com/skymethod/kv-connect-kit

kv-connect-kit - https://github.com/skymethod/kv-connect-kit/releases/tag/v0.0.5-next.3

Published by github-actions[bot] 11 months ago

kv-connect-kit - https://github.com/skymethod/kv-connect-kit/releases/tag/v0.0.5-next.1

Published by github-actions[bot] 11 months ago

kv-connect-kit - v0.0.4

Published by johnspurlock-skymethod about 1 year ago

  • fix check with undefined or null versionstamp
  • Implement set expiresIn now that the datapath proto supports it
  • NPM package

Usage

See the project readme for usage and quick starts: https://github.com/skymethod/kv-connect-kit

kv-connect-kit - v0.0.3

Published by johnspurlock-skymethod about 1 year ago

  • renamed to newKvU64
  • added isKvU64
  • Remove obsolete encoding check now that we support VE_BYTES
  • NPM package

Usage

See the project readme for usage and quick starts: https://github.com/skymethod/kv-connect-kit

kv-connect-kit - v0.0.2

Published by johnspurlock-skymethod about 1 year ago

  • Initial release
  • makeRemoteService -> KvService -> openKv
  • Full fidelity KvKey serialization
  • Partial KV value serialization (null/undefined/boolean/string/Uint8Array) with optional pluggable serializers
  • Option to wrap unknown V8 values as raw bytes
  • Option to provide a custom fetch function, useful for environments without a global fetch.
  • NPM package with Node 14+ support

Usage

See the project readme for usage and quick starts: https://github.com/skymethod/kv-connect-kit