glowie
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

glowie

Teeny-tiny terminal color library which does not perform any color support detection, so you can hook up capable detection modules yourself.

Usage

import {green, disableColor} from "glowie";

console.info(green("foo", "bar"));
// "foo bar" in color

disableColor();

console.info(green("foo", "bar"));
// "foo bar" in no color

© silverwind, distributed under BSD licence

Readme

Keywords

none

Package Sidebar

Install

npm i glowie

Weekly Downloads

114

Version

1.3.2

License

BSD-2-Clause

Unpacked Size

5.08 kB

Total Files

4

Last publish

Collaborators

  • silverwind