Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryuapp/enogu
Painting your terminal with colors
https://github.com/ryuapp/enogu
colors console javascript terminal typescript
Last synced: about 2 months ago
JSON representation
Painting your terminal with colors
- Host: GitHub
- URL: https://github.com/ryuapp/enogu
- Owner: ryuapp
- License: mit
- Created: 2023-11-22T14:57:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-14T06:22:56.000Z (3 months ago)
- Last Synced: 2024-10-28T16:08:45.142Z (2 months ago)
- Topics: colors, console, javascript, terminal, typescript
- Language: TypeScript
- Homepage: https://jsr.io/@ryu/enogu
- Size: 71.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enogu
[![npm](https://img.shields.io/npm/v/enogu)](https://www.npmjs.com/package/enogu)
[![deno.land/x](https://shield.deno.dev/x/enogu)](https://deno.land/x/enogu)
[![jsr](https://jsr.io/badges/@ryu/enogu)](http://jsr.io/@ryu/enogu)**enogu** is a library for painting your terminal with colors.\
Inspired by Deno standard library
[@std/fmt/colors](https://jsr.io/@std/fmt/doc/colors/~),
[chalk](https://github.com/chalk/chalk) and
[picocolors](https://github.com/alexeyraspopov/picocolors).```ts
// npm
import { red } from "enogu";console.log(red("Hello, world!"));
``````ts
// jsr
import { red } from "@ryu/enogu";console.log(red("Hello, world!"));
```## Features
- Zero dependencies
- Support `NO_COLOR` environment variable
- Comaptible with any JavaScript runtime, including Deno, Node.js and Bun
- Faster than Deno std library
[@std/fmt/colors](https://jsr.io/@std/fmt/doc/colors/~)
- Compatible with [@std/fmt/colors](https://jsr.io/@std/fmt/doc/colors/~)