https://github.com/gnlow/blue
Simple wrapper for std/fmt/colors
https://github.com/gnlow/blue
color console deno terminal
Last synced: about 2 months ago
JSON representation
Simple wrapper for std/fmt/colors
- Host: GitHub
- URL: https://github.com/gnlow/blue
- Owner: gnlow
- License: mit
- Created: 2021-12-01T00:56:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T03:14:46.000Z (over 4 years ago)
- Last Synced: 2025-05-30T01:51:30.929Z (about 1 year ago)
- Topics: color, console, deno, terminal
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blue
Simple wrapper for std/fmt/colors.
```
b: bold
i: italic
c(color): text color
bg(color): background color
```
```ts
import {
pipe as $, b, i, c, bg,
pink, black, white
} from "https://denopkg.com/gnlow/blue/mod.ts"
console.log(
$(c(pink), bg(black))
`Hello,`,
$(c(black), bg(white), b, i)
`World!`
)
```