constatic
Version:
Constatic is a CLI for creating and managing modern TypeScript projects, providing an organized structure and features that streamline development.
2 lines (1 loc) • 387 B
JavaScript
import c from"chalk";const r={icon:{success:"\u2713",fail:"\u25C7",error:"\u2716\uFE0E",warn:"\u25B2"},success(...o){console.log(`${c.green(r.icon.success)}`,...o)},fail(...o){console.log(`${c.red(r.icon.fail)}`,...o)},error(...o){console.log(`${c.red(r.icon.error)}`,...o)},warn(...o){console.log(`${c.yellow(r.icon.warn)}`,...o)},custom(o,...e){console.log(o,...e)}};export{r as log};