@neofork/devlogr - v0.0.1
    Preparing search index...

    Class EmojiUtils

    Emoji detection and handling utilities for terminal output. Automatically detects terminal support and provides fallbacks.

    Index

    Constructors

    Methods

    • Check if the current terminal supports emoji display.

      Returns boolean

      True if emoji should be displayed, false otherwise

    • Template literal function for conditional emoji display.

      Parameters

      • strings: TemplateStringsArray

        Template literal strings

      • ...values: unknown[]

        Template literal values

      Returns string

      Text with emoji if supported, or text with emoji stripped

    • Format text with conditional emoji support.

      Parameters

      • text: string

        Text that may contain emoji

      Returns string

      Text with emoji if supported, or text with emoji stripped

    • Remove emoji from text regardless of terminal support.

      Parameters

      • text: string

        Text that may contain emoji

      Returns string

      Text with all emoji removed