sort-json

Takes a json-file and return a copy of the same file, but sorted

npm install sort-json
6 downloads in the last week
12 downloads in the last month

sort-json

Takes a json-file and return a copy of the same file, but sorted

installation

[sudo] npm -g install sort-json

usage

sort-json file.json

For now sort-json takes no other arguments, so the origin file will be overritten by a sorted json file with 2-space indentation.

npm loves you