UNPKG

@visulima/ansi

Version:

ANSI escape codes for some terminal swag.

9 lines (7 loc) 428 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const IT2_AUTO = "auto"; const it2Cells = /* @__PURE__ */ __name((n) => n.toString(), "it2Cells"); const it2Pixels = /* @__PURE__ */ __name((n) => `${n}px`, "it2Pixels"); const it2Percent = /* @__PURE__ */ __name((n) => `${n}%`, "it2Percent"); export { IT2_AUTO, it2Cells, it2Percent, it2Pixels };