{"_id":"sort-object-arrays","_rev":"108928","name":"sort-object-arrays","description":"Recursively sort the array values in an object.","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:40:29.000Z","created":"2015-12-13T09:12:17.455Z","0.1.1":"2015-12-20T20:39:39.693Z","0.1.0":"2015-12-13T09:12:17.455Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/sort-object-arrays.git"},"versions":{"0.1.1":{"name":"sort-object-arrays","description":"Recursively sort the array values in an object.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/sort-object-arrays","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/sort-object-arrays.git"},"bugs":{"url":"https://github.com/jonschlinkert/sort-object-arrays/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2"},"devDependencies":{"mocha":"*"},"keywords":["arrays","object","sort"],"verb":{"plugins":["gulp-format-md"],"related":{"list":["group-object","sort-object","extend-shallow"]}},"gitHead":"ff3458d43fbd0fd610fd4a737e8787c8c0a85811","_id":"sort-object-arrays@0.1.1","_shasum":"99f55cf205a491dde1f52f096a36a26b09b4832f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"99f55cf205a491dde1f52f096a36a26b09b4832f","size":2256,"noattachment":false,"key":"/sort-object-arrays/-/sort-object-arrays-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sort-object-arrays/download/sort-object-arrays-0.1.1.tgz"},"directories":{},"publish_time":1450643979693,"_cnpm_publish_time":1450643979693,"_hasShrinkwrap":false},"0.1.0":{"name":"sort-object-arrays","description":"Recursively sort the array values in an object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/sort-object-arrays","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/sort-object-arrays.git"},"bugs":{"url":"https://github.com/jonschlinkert/sort-object-arrays/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2"},"devDependencies":{"mocha":"*"},"keywords":["arrays","object","sort"],"verb":{"plugins":["gulp-format-md"],"related":{"list":["sort-object"]}},"gitHead":"fdcd8c48762fdb38f0b558e9dd3f942d9d01c08c","_id":"sort-object-arrays@0.1.0","_shasum":"115b4bb402b214b2d0796cbb78ee1e0d9f7aba3a","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"115b4bb402b214b2d0796cbb78ee1e0d9f7aba3a","size":2084,"noattachment":false,"key":"/sort-object-arrays/-/sort-object-arrays-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sort-object-arrays/download/sort-object-arrays-0.1.0.tgz"},"directories":{},"publish_time":1449997937455,"_cnpm_publish_time":1449997937455,"_hasShrinkwrap":false}},"readme":"# sort-object-arrays [![NPM version](https://img.shields.io/npm/v/sort-object-arrays.svg)](https://www.npmjs.com/package/sort-object-arrays) [![Build Status](https://img.shields.io/travis/jonschlinkert/sort-object-arrays.svg)](https://travis-ci.org/jonschlinkert/sort-object-arrays)\n\n> Recursively sort the array values in an object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i sort-object-arrays --save\n```\n\n## Usage\n\n```js\nvar sortArrays = require('sort-object-arrays');\n\nvar obj = sortArrays({foo: ['z', 'a', 'b']});\n//=> obj.foo[0] === 'a'\n//=> obj.foo[1] === 'b'\n//=> obj.foo[2] === 'z'\n```\n\nAlso sorts array elements on nested properties:\n\n```js\nvar obj = sortArrays({foo: {bar: {baz: ['z', 'a', 'b']}}});\n//=> obj.foo.bar.baz[0] === 'a'\n//=> obj.foo.bar.baz[1] === 'b'\n//=> obj.foo.bar.baz[2] === 'z'\n```\n\n## Related projects\n\n* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow)\n* [group-object](https://www.npmjs.com/package/group-object): Group object keys and values into lists. | [homepage](https://github.com/doowb/group-object)\n* [sort-object](https://www.npmjs.com/package/sort-object): Sort the keys in an object. | [homepage](https://github.com/doowb/sort-object)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/sort-object-arrays/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on December 20, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/sort-object-arrays","bugs":{"url":"https://github.com/jonschlinkert/sort-object-arrays/issues"},"license":"MIT"}