crayon.js

Terminal coloring done fast

Usage no npm install needed!

<script type="module">
  import crayonJs from 'https://cdn.skypack.dev/crayon.js';
</script>

README

Tests Coverage

🖍️ Crayon.js


:books: About

Crayon.js is one of the best1 performing terminal styling. Additionaly written in TypeScript.

Instead of straight up saying "use it, it's better" check yourself what meets your requirements.

🖍️ Crayon.js has:

  • ⚡ High performance
  • 📦 No dependencies
  • ⏱️ Low import times
  • 🦄 Automatic color support detection & fallbacking
  • 🔗 Supported nesting & chaining
  • 🌈 8bit (256) and 24bit (16.7m) color support
  • 🌟 Emojis, really just bcs of that you should star this repo

Installation

npm install crayon.js #yarn add crayon.js

Wiki

To learn more about Crayon and its API look here

:handshake: Contributing

Feel free to add any commits, issues and pull requests

:memo: Licensing

This project is available under MIT License conditions.