awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
chalk avatar

chalk/chalk

0
View on GitHub↗
23,262 نجوم·1,000 تفرعات·JavaScript·MIT·7 مشاهدات

Chalk

Chalk is a Node.js console formatter and terminal styling library used to add colors and text modifiers to command line output. It functions as a tool for formatting strings with foreground colors, background tints, and text styles using ANSI escape sequences.

The library includes a terminal color support detector that automatically determines the color depth and capabilities of the current environment. It features an ANSI color downsampler that converts RGB, Hex, or 256-color values to the nearest compatible format based on the detected terminal capabilities.

The project provides capabilities for terminal text formatting, including the creation of custom color themes and the validation of supported modifier and color names.

Features

  • Terminal Text Styling - Provides a comprehensive suite for adding colors and text modifiers to command line output.
  • Console Formatters - Provides a specialized utility for formatting Node.js console strings with colors and styles.
  • Terminal Escape Sequences - Provides the core mechanism for wrapping text in ANSI escape sequences to control terminal styling.
  • Terminal Color Schemes - Automatically determines the color depth and capabilities of the current terminal environment.
  • Terminal Environment Detection - Identifies terminal capabilities to ensure styles degrade gracefully across different environments.
  • Color Format Normalizers - Converts complex color values into standardized ANSI formats for terminal display.
  • ANSI Downsamplers - Converts Hex and RGB color values to the closest compatible ANSI format.
  • Terminal Color Formatting - Handles the conversion of various color formats into ANSI codes compatible with terminal emulators.
  • Capability Detection - Automatically detects terminal color depth to ensure compatible styling across different environments.
  • Color Themes - Allows the creation of reusable style presets by combining colors and modifiers into variables.
  • Fluent Style APIs - Implements a chainable, proxy-based API for intuitively applying multiple text styles.
  • Terminal User Interfaces - Enables the creation of visually structured terminal interfaces through consistent styling patterns.
  • CLI Frameworks - CLI string styling tool.
  • واجهات سطر الأوامر - Library for styling terminal strings with colors.

سجل النجوم

مخطط تاريخ النجوم لـ chalk/chalkمخطط تاريخ النجوم لـ chalk/chalk

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة chalk/chalk؟

Chalk is a Node.js console formatter and terminal styling library used to add colors and text modifiers to command line output. It functions as a tool for formatting strings with foreground colors, background tints, and text styles using ANSI escape sequences.

ما هي الميزات الرئيسية لـ chalk/chalk؟

الميزات الرئيسية لـ chalk/chalk هي: Terminal Text Styling, Console Formatters, Terminal Escape Sequences, Terminal Color Schemes, Terminal Environment Detection, Color Format Normalizers, ANSI Downsamplers, Terminal Color Formatting.

ما هي البدائل مفتوحة المصدر لـ chalk/chalk؟

تشمل البدائل مفتوحة المصدر لـ chalk/chalk: charmbracelet/lipgloss — This project is a framework for composing terminal interfaces through declarative styling and a grid-based layout… anomalyco/opentui — Opentui is a terminal user interface framework for building interactive command line applications. It provides a… crossterm-rs/crossterm — Crossterm is a cross-platform Rust library for terminal manipulation, providing a low-level interface for controlling… fatih/color — This is an ANSI terminal color library and console output manager used for applying colors and text attributes to… symfony/console — Console is a PHP CLI framework used for building interactive terminal applications. It functions as a command line… gizak/termui — Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a…

بدائل مفتوحة المصدر لـ Chalk

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Chalk.
  • charmbracelet/lipglossالصورة الرمزية لـ charmbracelet

    charmbracelet/lipgloss

    10,591عرض على GitHub↗

    This project is a framework for composing terminal interfaces through declarative styling and a grid-based layout engine. It provides a comprehensive toolkit for building responsive command-line applications by managing ANSI escape sequences, color profiles, and text rendering to ensure consistent visual output across different terminal environments. The library distinguishes itself through its ability to automatically detect terminal capabilities and background themes, allowing it to adjust color schemes and downsample profiles for optimal readability. It utilizes a layered composition model

    Gocligogolang
    عرض على GitHub↗10,591
  • anomalyco/opentuiالصورة الرمزية لـ anomalyco

    anomalyco/opentui

    12,131عرض على GitHub↗

    Opentui is a terminal user interface framework for building interactive command line applications. It provides a component-based system featuring a flexbox layout engine, a virtual node component tree, and a low-level 2D cell array renderer. The project is distinguished by a sophisticated keyboard binding engine that maps complex multi-stroke sequences and chords to named commands using prioritized, reactive layers. It also implements a plugin architecture that allows external modules to inject custom UI components into designated layout slots and extend input logic at runtime. Its capabilit

    TypeScript
    عرض على GitHub↗12,131
  • crossterm-rs/crosstermالصورة الرمزية لـ crossterm-rs

    crossterm-rs/crossterm

    4,098عرض على GitHub↗

    Crossterm is a cross-platform Rust library for terminal manipulation, providing a low-level interface for controlling terminal state, cursor movement, and text styling. It acts as a cross-platform TTY interface that handles raw mode, alternate screen buffers, and terminal window metadata across different operating systems. The library includes an ANSI text styling engine for applying RGB colors and text attributes to console output, as well as a terminal input event handler for capturing keyboard presses, mouse movements, and terminal resize events in real time. It also provides system clipbo

    Rustcolorconsolecross-platform
    عرض على GitHub↗4,098
  • fatih/colorالصورة الرمزية لـ fatih

    fatih/color

    7,883عرض على GitHub↗

    This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling. The project supports 24-bit high-color RGB mapping for precise color rendering in compatible terminal emulators. It enables the creation of colorized text fragments that can be embedded into larger blocks of text or applied as global styles that persist across subsequent output streams. The library covers broad

    Goansicolorcoloring
    عرض على GitHub↗7,883
  • عرض جميع البدائل الـ 30 لـ Chalk→