find-properties-usage

Finds unused i18n properties as well as properties used in code that aren't defined

Usage no npm install needed!

<script type="module">
  import findPropertiesUsage from 'https://cdn.skypack.dev/find-properties-usage';
</script>

README

Find Properties Usage

Finds which i18n strings in a .properties file which are unused in the specified directory.

Usage

fpu -F [path to the .properties file] -D [base dir of the project]

Additionally you can specify -p which is a comma-separated list of extra properties files to look in. You can also specify -i to ignore properties which are referenced in code but do not exist in the .propeties files.