1.0.4 • Published 2 years ago

ansi-console-colors v1.0.4

Weekly downloads
-
License
MIT License
Repository
github
Last release
2 years ago

Color for your console app

Uses old school PCBoard color codes.

require('ansi-console-colors');
console.print('@X01Hello @X03World@X05!');

PCBoard Color Format

The PCBoard method uses the format “@X<Background><Foreground>”

#ColorAttribute
0BlackNormal
1BlueNormal
2GreenNormal
3CyanNormal
4RedNormal
5MagentaNormal
6YellowNormal
7WhiteNormal
8BlackHigh Intensity
9BlueHigh Intensity
AGreenHigh Intensity
BCyanHigh Intensity
CRedHigh Intensity
DMagentaHigh Intensity
EYellowHigh Intensity
FWhiteHigh Intensity

View the test.js file for details / examples!

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago