1.0.3 • Published 1 year ago

i18n-usage-report v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

i18n-usage-report

find usage of translations and not used values

Arguments:

-P for project path

-T for translation file path

-S if single quotes are used in code

Env variables

PROJECT_PATH for project path

TRANSLATION_PATH for translation file path

SINGLE_QUOTE if single quotes are used in code

Usage example

npm install i18n-usage-report

node ./node_modules/i18n-usage-report -P ./src -T ./src/locales/en.json

or

npx i18n-usage-report -P ./src -T ./src/locales/en.json

Script will get keys from translation file, check usage of these keys in project files and report unused keys.

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago