{"_id":"deep-sort-object","_rev":"145207","name":"deep-sort-object","description":"Sorts object by its keys","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"time":{"modified":"2021-06-03T11:29:17.000Z","created":"2014-05-28T12:05:06.103Z","1.0.2":"2017-04-03T21:38:49.480Z","1.0.1":"2016-01-02T15:52:33.916Z","1.0.0":"2016-01-02T15:43:47.796Z","0.1.1":"2014-05-28T12:23:48.210Z","0.1.0":"2014-05-28T12:05:06.103Z"},"users":{"michaelyurin":true},"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/js-deep-sort-object.git"},"versions":{"1.0.2":{"name":"deep-sort-object","version":"1.0.2","description":"Sorts object by its keys","main":"index.js","scripts":{"test":"mocha --bail","browserify":"browserify -s deep-sort-object index.js > index.umd.js"},"bugs":{"url":"https://github.com/IndigoUnited/js-deep-sort-object/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/js-deep-sort-object.git"},"keywords":["sort","deep","object","key","value","keys","values"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"browserify":"^14.0.0","expect.js":"^0.3.1","mocha":"^3.0.2"},"dependencies":{"is-plain-object":"^2.0.1"},"gitHead":"f1f0e593c9508923d765793a41956b6176030c66","homepage":"https://github.com/IndigoUnited/js-deep-sort-object#readme","_id":"deep-sort-object@1.0.2","_shasum":"3892dcef5dfd0efc2d6fa96beabccb33cd8ef91f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"dist":{"shasum":"3892dcef5dfd0efc2d6fa96beabccb33cd8ef91f","size":4034,"noattachment":false,"key":"/deep-sort-object/-/deep-sort-object-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-sort-object/download/deep-sort-object-1.0.2.tgz"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-sort-object-1.0.2.tgz_1491255528344_0.7010257439687848"},"directories":{},"publish_time":1491255529480,"_hasShrinkwrap":false,"_cnpm_publish_time":1491255529480},"1.0.1":{"name":"deep-sort-object","version":"1.0.1","description":"Sorts object by its keys","main":"index.js","scripts":{"test":"mocha -R spec --bail","browserify":"browserify -s deep-for-each index.js > index.umd.js"},"bugs":{"url":"https://github.com/IndigoUnited/js-deep-sort-object/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/js-deep-sort-object.git"},"keywords":["sort","deep","object","key","value","keys","values"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"browserify":"^12.0.1","expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"is-plain-object":"^2.0.1"},"gitHead":"094d2138c8fa8ea5e3ebb870cc4f4f9e5bd40dca","homepage":"https://github.com/IndigoUnited/js-deep-sort-object#readme","_id":"deep-sort-object@1.0.1","_shasum":"c42a479167d139aa2030dccda46d49ca8a736496","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"c42a479167d139aa2030dccda46d49ca8a736496","size":4087,"noattachment":false,"key":"/deep-sort-object/-/deep-sort-object-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-sort-object/download/deep-sort-object-1.0.1.tgz"},"directories":{},"publish_time":1451749953916,"_cnpm_publish_time":1451749953916,"_hasShrinkwrap":false},"1.0.0":{"name":"deep-sort-object","version":"1.0.0","description":"Sorts object by its keys","main":"index.js","scripts":{"test":"mocha -R spec --bail","browserify":"browserify -s deep-for-each index.js > index.umd.js"},"bugs":{"url":"https://github.com/IndigoUnited/js-deep-sort-object/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/js-deep-sort-object.git"},"keywords":["sort","deep","object","key","value","keys","values"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"browserify":"^12.0.1","expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"is-plain-object":"^2.0.1"},"gitHead":"8fe048167773f1ca4dda7408d8a075b1103e2ee2","homepage":"https://github.com/IndigoUnited/js-deep-sort-object#readme","_id":"deep-sort-object@1.0.0","_shasum":"dd95cade12a4a092fa6738a547967d046ddc3cd8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"dd95cade12a4a092fa6738a547967d046ddc3cd8","size":3170,"noattachment":false,"key":"/deep-sort-object/-/deep-sort-object-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-sort-object/download/deep-sort-object-1.0.0.tgz"},"directories":{},"publish_time":1451749427796,"_cnpm_publish_time":1451749427796,"_hasShrinkwrap":false},"0.1.1":{"name":"deep-sort-object","version":"0.1.1","description":"Sorts object by its keys","main":"index.js","scripts":{"test":"mocha -R spec"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-sort-object/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-sort-object.git"},"keywords":["sort","deep","object","key","value","keys","values"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","dependencies":{"mout":"~0.9.1"},"devDependencies":{"mocha":"~1.8.1","expect.js":"~0.2.0"},"homepage":"https://github.com/IndigoUnited/node-deep-sort-object","_id":"deep-sort-object@0.1.1","dist":{"shasum":"7cd04b68d5486eb20a588b3cd70466b089673ac6","size":2060,"noattachment":false,"key":"/deep-sort-object/-/deep-sort-object-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-sort-object/download/deep-sort-object-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1401279828210,"_cnpm_publish_time":1401279828210,"_hasShrinkwrap":false},"0.1.0":{"name":"deep-sort-object","version":"0.1.0","description":"Sorts object by its keys","main":"index.js","scripts":{"test":"mocha -R spec"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-sort-object/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-sort-object.git"},"keywords":["sort","deep","object","key","value","keys","values"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","dependencies":{"mout":"^0.9.1"},"devDependencies":{"mocha":"~1.8.1","expect.js":"~0.2.0"},"homepage":"https://github.com/IndigoUnited/node-deep-sort-object","_id":"deep-sort-object@0.1.0","dist":{"shasum":"a3756f09d6530403ff55ea51e813c0f2e8c7524f","size":2016,"noattachment":false,"key":"/deep-sort-object/-/deep-sort-object-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-sort-object/download/deep-sort-object-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1401278706103,"_cnpm_publish_time":1401278706103,"_hasShrinkwrap":false}},"readme":"# deep-sort-object\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]\n\n[npm-url]:https://npmjs.org/package/deep-sort-object\n[downloads-image]:http://img.shields.io/npm/dm/deep-sort-object.svg\n[npm-image]:http://img.shields.io/npm/v/deep-sort-object.svg\n[travis-url]:https://travis-ci.org/IndigoUnited/js-deep-sort-object\n[travis-image]:http://img.shields.io/travis/IndigoUnited/js-deep-sort-object/master.svg\n[david-dm-url]:https://david-dm.org/IndigoUnited/js-deep-sort-object\n[david-dm-image]:https://img.shields.io/david/IndigoUnited/js-deep-sort-object.svg\n[david-dm-dev-url]:https://david-dm.org/IndigoUnited/js-deep-sort-object#info=devDependencies\n[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/js-deep-sort-object.svg\n\nSimple module to sort objects recursively by its keys.\n\n\n## Installation\n\n`$ npm install deep-sort-object` - `NPM`   \n`$ bower install deep-sort-object` - `bower`\n\nThe browser file is named `index.umd.js` which supports CommonJS, AMD and globals (`deepForEach`).\nIf you want to run this module on old browsers, you must include [es5-shim](https://github.com/es-shims/es5-shim).\n\n\n## Usage\n\nThe example bellow is based on `nodejs`.\n\n```js\nvar sortobject = require('deep-sort-object');\n\nsortobject({\n    'z': 'foo',\n    'b': 'bar',\n    'a': [\n        {\n            'z': 'foo',\n            'b': 'bar'\n        }\n    ]\n});\n\n/*\n{\n    'a': [\n        {\n            'b': 'bar',\n            'z': 'foo'\n        }\n    ],\n    'b': 'bar',\n    'z': 'foo'\n});\n*/\n```\n\n\n## Tests\n\n`$ npm test`\n\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","_attachments":{},"homepage":"https://github.com/IndigoUnited/js-deep-sort-object#readme","bugs":{"url":"https://github.com/IndigoUnited/js-deep-sort-object/issues/"},"license":"MIT"}