Skip to main content

🦕 Simple colour for deno, inspired by chalk 🦕

Why?

It’s nice to see nice output in the terminal, so this makes that nice and easy to do.

Goal

Be super simple to use, nothing else.

Docs

As with denin I’ll point you to the docs. There’s a much nicer layout, examples, and proper styling. However, I’ll also add a small example here so that you can see how it works.

// you'll want to add a version to this
import chalkin from "https://deno.land/x/chalkin/mod.ts";

// log text with the given modifiers and colours
console.log(chalkin.bold.underline.bgBlue.red("Hello,", "World!"));

Uses

A big thanks to @tavofigse for ansi_styles for the ansi escape codes, and @chalk for being a super simple inspiration!