terminal-color-numbers-pmb
Named raw terminal color palette for the linux virtual console and lots of terminal emulators. No open/close/nesting or state machine. Just the numbers, and some minimal utility functions.
Usage
from test/usage.mjs:
; // simple style lookup: name to number;;;; // br… = bright; // bg… = background; ;;;; ;;;; ;;;;;; // simple style lookup: number to names;;;; // construct ANSI escape sequences;;;; // unknown words are ignored;;
Known issues
- Needs more/better tests and docs.
License
ISC