→ كل المشاريع

i18n-scan

بواسطة @hexxt-git

نشِط 18

extract raw text from JSX/TSX files for internationalization (i18n).

عن هذا المشروع

i18n-scan A CLI tool to extract raw text from JSX/TSX files for internationalization (i18n). Best paired with agentic ai tools like Cursor. Features Extracts text content from JSX elements Extracts text from specified JSX attributes (title, alt, placeholder, etc.) Supports TypeScript and JavaScript JSX files Configurable file extensions and attribute names Shows file path and line numbers for each extracted text Supports returning a single integer count of all matched texts instead of listing them Installation Install dependencies: Build the project: (Optional) Install globally: Usage Basic Usage Examples Options -e, --ext : Comma-separated list of file extensions (default: .tsx,.jsx) -a, --attributes : Comma-separated list of attribute names to extract (default: title,alt,placeholder) -t, --truncate : Truncate text to this length, 0 to disable (default: 30) -f, --filter-non-alpha: Filter out text containing only non-alphabetic characters (e.g., $, 123, 🎉) -l, --include-literals: Include string literals from objects, function calls, and validation schemas -d, --deps: Include dependency directories (nodemodules). By default, nodemodules is excluded.

من ملف README الخاص بالمشروع على GitHub

النجوم
18
التفريعات
1
آخر تحديث
25/06/2026

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/i18n-scan.svg)](https://www.madeinalgeria.dev/projects/i18n-scan)

مشاريع ذات صلة