UNPKG

base62-ts

Version:

Custom Base-62 Encoder in TypeScript

9 lines (8 loc) 252 B
/** * Encodes a decimal number to its base-62 string representation * * @param {number} value - The number to encode * @returns the base-62 string representation * @throws not an integer */ export declare const encode: (value: number) => string;