Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ronniechong/node-sort-json
- Owner: ronniechong
- License: mit
- Created: 2017-10-09T01:51:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T02:01:35.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T12:59:02.873Z (9 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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...
```