File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
2- # json-key -sort
2+ # json-keys -sort
33
44> Sorting a json object based on keys either ascending or descending & even recursively
55
88 > Note : focus on ** keys** not values
99
1010~~~~
11- const json = require('json-key -sort');
11+ const json = require('json-keys -sort');
1212var data = {
1313 "zoho": 4,
1414 "drake": 2,
@@ -54,7 +54,7 @@ Output will be -
5454
5555### Versions
5656
57- + ` v0.9 .0`
57+ + ` v1.0 .0`
5858 + Initial release - containing basic `sort` function only.
5959
6060> Pull requests are always welcomed (kindly sign commits with GPG keys. ** THANKS** )
Original file line number Diff line number Diff line change 11{
2- "name" : " json-key -sort" ,
3- "version" : " 0.9 .0" ,
2+ "name" : " json-keys -sort" ,
3+ "version" : " 1.0 .0" ,
44 "description" : " Sorting a json object based on keys either ascending or descending & even recursively" ,
55 "main" : " index.js" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/DawnImpulse/json-key -sort-js.git"
8+ "url" : " https://github.com/DawnImpulse/json-keys -sort-js.git"
99 },
1010 "keywords" : [
1111 " json" ,
You can’t perform that action at this time.
0 commit comments