UNPKG

@xylabs/hex

Version:

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

8 lines 393 B
import type { HexConfig } from './model.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) => Lowercase<string>; //# sourceMappingURL=to.d.ts.map