Chalk TS

🚀 Modern terminal string styling library built with TypeScript

A powerful, feature-rich alternative to chalk with enhanced capabilities, better performance, and modern development experience. Rich colors, gradients, rainbows, and extensive utilities with zero dependencies.

NPM VersionLicenseTypeScriptCoverage
🎨

Why chalk-ts?

More than just colors. It's a complete CLI styling toolkit.

  • Rich Palette: 20+ built-in colors, RGB, HEX, HSL
  • Visual Effects: Gradients, Rainbows, Neon, and Pulse
  • CLI Components: Tables, Progress Bars, Boxes, Spinners
  • Drop-in Replacement for standard chalk usage

Support Development

Color Mastery

Supports ANSI, TrueColor (RGB), HEX, and HSL. 20+ extended named colors.

FX Engine

Apply beautiful gradients, rainbows, and animations like pulse and neon.

UI Toolkit

Everything you need for CLIs: Tables, Boxes, and Progress Bars built-in.

Type Safety

Written in TypeScript for TypeScript. Excellent IntelliSense support.

Lightweight

Zero dependencies and tree-shakeable. Keep your CLI bundles small.

Contribution

We welcome contributions from the community! Help us make chalk-ts even better.

Follow these steps to contribute:

  1. 1Fork the repository on GitHub
  2. 2Clone your fork locally
  3. 3Create a new feature branch (git checkout -b feature/amazing-feature)
  4. 4Make your changes and commit (git commit -m 'Add amazing feature')
  5. 5Push to your branch (git push origin feature/amazing-feature)
  6. 6Open a Pull Request with a detailed description

License

MIT License

This project is free and open-source software licensed under the MIT License. You are free to use, modify, and distribute it as you wish.

Copyright © 2026 Noor Mohammad

All rights reserved under MIT License

Support the Project

If you find Chalk TS useful, consider buying me a coffee!

Your support helps maintain and improve this project. Every coffee counts! 🙏

Zero dependencies95%+ test coverageActive development
Buy me a coffeeBuy me a coffee

💝 Thank you for your support!