Skip to content

davidcralph/leeks.js

Repository files navigation

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