colors-256

All xterm-256 colors!

Usage no npm install needed!

<script type="module">
  import colors256 from 'https://cdn.skypack.dev/colors-256';
</script>

README

colors-256

Easily do xterm-256 colors in node.js

usage

// NOTE!    --------------------VV
var c256 = require("colors-256")();

var Red     = "This will be red".c256("ff0000");
var AlsoRed = c256("ff0000") + "This will also be red";

See example.js for a more in-depth example.