sgr-parser
Parse escape sequence for console. (Especially for SGR)
ansi-stream-parser
A parser for ANSI escape sequence text (SGR) that works on streaming/partial input
term-ng
Terminal/$TERM feature snooping and whitelisting
term-true-color
A very simple function for outputting text in true color on terminals that support it (like iTerm 2 nightly or the terminals [on this list](https://gist.github.com/XVilka/8346728)).