Last 12 weeks · 0 commits
2 of 6 standards met
Deno 2.8.1 added support for serializing and deserializing several web objects via Deno KV: , , , and . Since reading a / and exporting a are inherently asynchronous, new variants are added alongside the existing sync API: / / / The sync / functions throw a when given a , , or , and continue to round-trip . serialization uses with the format chosen from ( -> , -> , -> ); non-extractable keys surface the underlying from unchanged. and are switched to the async variants internally so they transparently handle the new types.
Deploy now supports accessing v8 serialize via which means everywhere you would reasonable run Deno KV (including Bun) supports serialize from . This effectively makes the functionality in Previously, the performance in Deno of serialize was poor, but recent versions have it faster than the original estimation function: Based on this, is redundant and less accurate than using serialize directly and should be deprecated and eventually removed.
Repository: denoland/kv-utils. Description: The utilities for working with Deno KV Stars: 19, Forks: 3. Primary language: TypeScript. Languages: TypeScript (100%). License: MIT. Homepage: https://jsr.io/@deno/kv-utils Topics: deno, denokv. Latest release: 0.1.3 (1y ago). Open PRs: 1, open issues: 0. Last activity: 1y ago. Community health: 50%. Top contributors: kitsonk, kt3k, c43721.