Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/mod.ts>formatters.Formatter

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface formatters.Formatter
Re-export
import { type formatters } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { Formatter } = formatters;

Type Parameters

optional
TSource = unknown
optional
TTarget = string

Properties

names: readonly string[]
serialize: (payload: TSource | Promise<TSource>) => Promise<TTarget>
optional
deserialize: (payload: TTarget | Promise<TTarget>) => Promise<TSource>