deno/ext/kv
Nathan Whitaker 9379a74e08
Some checks are pending
ci / publish canary (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
chore: update to edition 2024 (#29923)
2025-07-02 17:59:39 -07:00
..
01_db.ts refactor: internal logging utility (#28567) 2025-03-21 12:17:50 +01:00
Cargo.toml 2.4.0 (#29959) 2025-07-01 16:21:05 -04:00
config.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
dynamic.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
interface.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
lib.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
README.md fix(docs): fix some deno.land/manual broken urls (#24557) 2024-07-15 11:08:45 +00:00
remote.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
sqlite.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00

deno_kv

This crate provides a key/value store for Deno. For an overview of Deno KV, please read the manual.

Storage Backends

Deno KV has a pluggable storage interface that supports multiple backends:

  • SQLite - backed by a local SQLite database. This backend is suitable for development and is the default when running locally. It is implemented in the denokv_sqlite crate.
  • Remote - backed by a remote service that implements the KV Connect protocol, for example Deno Deploy.

Additional backends can be added by implementing the Database trait.

KV Connect

The KV Connect protocol allows the Deno CLI to communicate with a remote KV database. The specification for the protocol, and the protobuf definitions can be found in the denokv repository, under the proto directory.