UNPKG

jc-color

Version:

A JavaScript tool for color compute and console print tool both for NodeJS and Browser.

12 lines (11 loc) 310 B
import { TextUnit } from "./print"; declare type Platform = "Node" | "Browser" | "Electron"; declare function getPlatform(): Platform; declare const templates: (that: TextUnit) => { Node: { default: string; styless: string; }; Browser: string; }; export { getPlatform, templates };