UNPKG

@xylabs/hex

Version:

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

8 lines 403 B
import type { HexConfig } from './hex.ts'; /** takes any value and tries our best to convert it to a hex string */ export declare const toHex: ( /** Supported types are string, number, bigint, and ArrayBuffer */ value: string | number | bigint | ArrayBufferLike, /** Configuration of output format and validation */ config?: HexConfig) => import("./hex.ts").BrandedHex; //# sourceMappingURL=to.d.ts.map