Skip to main content
Module

x/cbor/index.js

Ultra-fast CBOR encoder/decoder with extensions for records and structural cloning
Very Popular
Latest
import * as cbor from "https://deno.land/x/cbor@v1.5.9/index.js";

Functions

Given an Iterable/Iterator input which yields buffers, returns an IterableIterator which yields sync decoded objects Or, given an Async Iterable/Iterator which yields promises resolving in buffers, returns an AsyncIterableIterator.

Given an Iterable first argument, returns an Iterable where each value is encoded as a Buffer If the argument is only Async Iterable, the return value will be an Async Iterable.