Skip to main content
Module

x/dtils/deps.ts>cbor

The best unofficial library of utilities for Deno applications
Go to Latest
namespace cbor
import { cbor } from "https://deno.land/x/dtils@2.6.0/deps.ts";

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.