-
Notifications
You must be signed in to change notification settings - Fork 0
About
I wanted to enhance the console output of a project I was working on. I needed color, certainly... but I also needed a better way to display things in the console like JSON.
I looked at what was available on NPM and GitHub and searched for a single solution. After trying out and experimenting with about twenty different packages - and finding all of them missing something essential. I concluded that what I wanted, had to be:-
- More capable than chalk.js, color.js, colour.js, col.js, etc etc...
..."Hey, where's my color orange?"
- More standard than things like prettyjson
..."Look, I just wanted standard JSON... not this YAMLized 'something'!!!"
- Lighter than terminal-kit.
..."I'm asking for better console output... not a rocket-ship with six different kitchen sinks and a dog kennel!"
- And to work everywhere just the same. At least in both the browser and with Node.
"Ok, NPM search results: 0 ...help!!!"
Thus, faced with the abyss... I did what any good coder would do... and wrote the solution myself.
I share it with you now... and I've called it Pageant! (After the ye old medievally colorful procession thingies...)
Unlike the name, the code is implemented in very modern and very vanilla JavaScript!