1.1.1 • Published 9 months ago

jskeq v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

jskeq

a node script to compare two json files keys

Motivation

I created this simple script to compare translations files, as I sometimes add translations to one file and forget to add the same translation keys to the other languages

Usage

cd my-cool-i18n-project;
npx jskeq  localization/en localization/ar

if some keys are in one file but not the other it will log them:

ar/account.json have 2 more keys:
signin.username
signin.password

en/home.json have 1 more keys:
welcoming

Meaning en/account.json translation file is missing the translation keys signin.username and signin.password

And ar/home.json is missing the translation key welcoming

also it works for files:

npx jskeq en.json ar.json
1.1.1

9 months ago

1.1.0

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago