opniz
Version:
opniz sdk for node.js
11 lines (10 loc) • 509 B
TypeScript
import dayjs from "dayjs";
import chalk from "chalk";
export { dayjs, chalk };
export declare const getDateStr: () => string;
export declare const log: (...v: any[]) => void;
export declare const sleep: (ms: number) => Promise<void>;
export declare const wait: (ms: number) => Promise<void>;
export declare const zeroPadding: (value: string, length: number) => string;
export declare const generateRandomColorcode: () => string;
export declare const generateRandomColorcodeClosure: () => () => any;