https://github.com/silverwind/glowie
Teeny-tiny terminal color library which does not perform any color support detection
https://github.com/silverwind/glowie
Last synced: 3 months ago
JSON representation
Teeny-tiny terminal color library which does not perform any color support detection
- Host: GitHub
- URL: https://github.com/silverwind/glowie
- Owner: silverwind
- License: bsd-2-clause
- Created: 2023-05-23T20:34:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-03-04T19:07:33.000Z (3 months ago)
- Last Synced: 2026-03-05T01:33:23.760Z (3 months ago)
- Language: TypeScript
- Size: 778 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# glowie
[](https://www.npmjs.org/package/glowie) [](https://www.npmjs.org/package/glowie) [](https://packagephobia.com/result?p=glowie)
Teeny-tiny terminal color library which does not perform any color support detection, so you can hook up [capable detection modules](https://github.com/chalk/supports-color) yourself.
## Usage
```js
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](https://github.com/silverwind), distributed under BSD licence