Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ronniechong/node-sort-json

Sorting JSON
https://github.com/ronniechong/node-sort-json

Last synced: about 1 month ago
JSON representation

Sorting JSON

Awesome Lists containing this project

README

        

# node-sort-json

## Instructions

Sort a file in absolute path `-f`
```bash
node ./sort.js -f path/to/file.json
```

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