Skip to content

knnthlu/check-properties-duplicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check-properties-duplicate

Return duplicate data in properties file

Installation

npm install check-properties-duplicate

How to use

Create a json config for source path and destination path.

Example: **myconfig.json

{
    src: "c:\properties",
    dist: "c:\duplicate"
}

then run

check-properties-duplicate -p myconfig.json

See sample below:

**myfile.properties

prop_hello = Hello
prop_hi = Hi
prop_hello = Ola

It will output:

**myfile.json

{
    "prop_hello": "Ola"
}

About

checks for duplicate data in properties file. Outputs in JSON file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published