qpien-chat-text-formatter v1.4.3 is a React component for formatting chat messages with bold, italic, strikethrough, monospace, auto-linked URLs, and bulleted/numbered lists. Created by demirelakif, it supports Turkish locale via a capitalizeFirst utility that handles special characters (İ, ı, etc.). Requires React >=16.8.0. Actively maintained with a one-month release cycle. Differentiators: lightweight (no Markdown parser dependency), dedicated chat-focused syntax, and built-in Turkish language support.
npm install qpien-chat-text-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of ChatTextFormatter with bold, italic, bullet list, and auto-linked URL.
Use import { ChatTextFormatter } from 'qpien-chat-text-formatter' instead of default import.Update to v1.4.0 or later and use the provided capitalizeFirst function with 'tr-TR' locale.
No formal CSS API; use inline style or className to customize appearance.
Ensure text prop is a string, e.g., <ChatTextFormatter text={myText ?? ''} />Run npm install qpien-chat-text-formatter
Change import to import { ChatTextFormatter } from 'qpien-chat-text-formatter'Install @types/react? Package ships types; check tsconfig includes node_modules/@types, or if using an older TS version, add 'skipLibCheck': true