UNPKG

@blockchainhub/blo

Version:

blo is a small and fast library to generate Blockchain identicons.

10 lines (9 loc) 587 B
import type { Address, BloOptions } from "./types.js"; import { image, randomImageData, randomPalette, randomColor } from "./image.js"; import { seedRandom } from "./random.js"; export type { Address, BloImage, BloOptions, Hsl, Palette, PaletteIndex, } from "./types.js"; export declare const blo: (a: Address, o?: BloOptions) => string; export declare const bloSvg: (a: Address, o?: BloOptions) => string; export declare const bloImage: (a: Address, o?: BloOptions) => import("./types.js").BloImage; export { image, randomImageData, randomPalette, randomColor }; export { seedRandom };