@ryanburnette/alphabetize-object-keys
v1.2.0
Published
Alphabetize members of an object by key.
Downloads
2
Readme
alphabetize object keys
Turn this...
var obj = {
c: 'c',
b: 'b',
a: {
b: 'b',
a: 'a'
}
}
...into this...
var obj = {
a: {
a: 'a',
b: 'b'
}
b: 'b',
c: 'c',
}