0.0.4 • Published 5 years ago

detect-untranslated-literals v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

detect-untranslated-literals

Search a React codebase for plaintext bypassing react-intl

Uses the flow-parser to traverse your codebase (start at a high-level directory) and examine all the JSX nodes for untranslated text.

npm install -g detect-untranslated-literals

Sample usage:

detect-untranslated-literals /path/to/some/directory

Output will show any strings that are not being processed by react-intl along with filename and line number.

Based quite heavily on https://github.com/RReverser/esprima-fb/blob/fb-harmony/examples/detectnestedternary.js

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago