node-sort-json
Instructions
Sort a file in absolute path -f
node ./sort.js -f path/to/file.json
Ignore specific keys when sorting by adding -i
as a parameter
node ./sort.js -f path/to/file.json -i key1,key2,key3...
Sort a file in absolute path -f
node ./sort.js -f path/to/file.json
Ignore specific keys when sorting by adding -i
as a parameter
node ./sort.js -f path/to/file.json -i key1,key2,key3...