Return duplicate data in properties file
npm install check-properties-duplicate
Create a json config
Example **myconfig.json
{
src: "c:\properties",
dist: "c:\duplicate"
}
then run
check-properties-duplicate -p config.json
Example
**myfile.properties
prop_hello = Hello
prop_hi = Hi
prop_hello = Ola
It will output:
**myfile.json
{
"prop_hello": "Ola"
}