Package Exports
- deep-sort-object
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (deep-sort-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
deep-sort-object 
Simple module to sort objects recursively by its keys.
Installation
$ npm install deep-sort-object
Usage
var sortobject = require('deep-sort-object');
sortobject({
'z': 'foo',
'b': 'bar',
'a': [
{
'z': 'foo',
'b': 'bar'
}
]
});
/*
{
'a': [
{
'b': 'bar',
'z': 'foo'
}
],
'b': 'bar',
'z': 'foo'
});
*/
Tests
$ npm test
License
Released under the MIT License.