davidcralph / leeks.js

Simple ANSI styling for your terminal

Home Page:https://leeks.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leeks.js

Simple ANSI styling for your terminal

Features

  • Ultra lightweight (0 dependencies and small file size)
  • Chalk-like API
  • Supports 4-bit, 8-bit, full RGB, hex and CSS keywords
  • Automatic colour support detection with functions to manually disable/enable it
  • Set alias for colours and styles with leeks.alias()

Usage

See the documentation and example

About

Simple ANSI styling for your terminal

https://leeks.js.org

License:MIT License


Languages

Language:TypeScript 91.4%Language:JavaScript 8.6%