Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 278 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 278 Bytes

dorian-sort-json

Sorts keys of hashes of JSON files

e.g. sort-json package.json

Install

gem install dorian-sort-json

Or as part of my other gems:

gem install dorian

Usage

git ls-files | grep "\.json\$" | xargs sort-json