{"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dist-tags":{"latest":"2.0.0"},"author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"description":"Get a compare function for array to sort","readme":"#  [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]\n\n> Get a compare function for array to sort\n\n\n## Install\n\n```sh\n$ npm install --save compare-func\n```\n\n\n## Usage\n\n```js\nvar compareFunc = require('compare-func');\n\n// sort by an object property\n[{x: 'b'}, {x: 'a'}, {x: 'c'}].sort(compareFunc('x'));\n//=> [{x: 'a'}, {x: 'b'}, {x: 'c'}]\n\n// sort by a nested object property\n[{x: {y: 'b'}}, {x: {y: 'a'}}].sort(compareFunc('x.y'));\n//=> [{x: {y: 'a'}}, {x: {y: 'b'}}]\n\n// sort by the `x` propery, then `y`\n[{x: 'c', y: 'c'}, {x: 'b', y: 'a'}, {x: 'b', y: 'b'}].sort(compareFunc(['x', 'y']));\n//=> [{x: 'b', y: 'a'}, {x: 'b', y: 'b'}, {x: 'c', y: 'c'}]\n\n// sort by the returned value\n[{x: 'b'}, {x: 'a'}, {x: 'c'}].sort(compareFunc(function(el) {\n  return el.x;\n}));\n//=> [{x: 'a'}, {x: 'b'}, {x: 'c'}]\n```\n\n\n## API\n\n### compareFunc([property])\n\nReturns a compare function for array to sort\n\n#### property\n\nType: `string`, `function` or `array` of either\n\nIf missing it sorts on itself.\n\nThe string can be a [dot path](https://github.com/sindresorhus/dot-prop) to a nested object property.\n\n\n## Related\n\n- [sort-on](https://github.com/sindresorhus/sort-on) - Sort an array on an object property\n\n\n## License\n\nMIT © [Steve Mao](https://github.com/stevemao)\n\n\n[npm-image]: https://badge.fury.io/js/compare-func.svg\n[npm-url]: https://npmjs.org/package/compare-func\n[travis-image]: https://travis-ci.org/stevemao/compare-func.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/compare-func\n[daviddm-image]: https://david-dm.org/stevemao/compare-func.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/stevemao/compare-func\n[coveralls-image]: https://coveralls.io/repos/stevemao/compare-func/badge.svg\n[coveralls-url]: https://coveralls.io/r/stevemao/compare-func\n","repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"users":{"rocket0191":true},"bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"license":"MIT","versions":{"0.0.0":{"name":"compare-func","version":"0.0.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"https://github.com/stevemao/compare-func"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^1.0.1","lodash.clonedeep":"^3.0.0","lodash.foreach":"^3.0.2"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"a80a4e891b97f0bb48adc42325f129f24926c5fb","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@0.0.0","_shasum":"6f596fdf08ae57842104f8b5e78d15b6c3c96a50","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"6f596fdf08ae57842104f8b5e78d15b6c3c96a50","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-0.0.0.tgz","integrity":"sha512-sg1exbA254fee5gpWg98WkhXxfVOaS7thm22VBieEa7etLtK67wrtMN7HIpjVvlDOfoySbaXLTm/iHDw7Gf3RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADq8kI2v40iKoCbjsAkBts0y1+6xDXHWXy57vwjUqsuAiBzIuBETeh5XCGlTYKOfgnV8+EsJV1sjn4hamZ7nuvT/w=="}]},"directories":{}},"1.0.0":{"name":"compare-func","version":"1.0.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"https://github.com/stevemao/compare-func"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^1.0.1","lodash.clonedeep":"^3.0.0","lodash.foreach":"^3.0.2"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"6e34bb85640949824e22880b11873508c57003cd","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.0.0","_shasum":"5169917b61b42cb8e7ab937e96d92963e61dcc35","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"5169917b61b42cb8e7ab937e96d92963e61dcc35","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.0.0.tgz","integrity":"sha512-oRw4ghWAmbZOHo5zBJdyBbbituMW3cBWb/aXdZCuEGa4z2GKP6Ig4WSE2YOfvEwHGw8AhYmnXnxLuSSYf/pFAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCivtxwcYyYhkRmIKzThldiXSX/KVNaYUe31hDvBDco0AIgMsO5Y7cCa/NxZ1Bn9Rw1U/546V9Fddgc4iywY2XHy/E="}]},"directories":{}},"1.0.1":{"name":"compare-func","version":"1.0.1","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"https://github.com/stevemao/compare-func"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^1.0.1","lodash.clonedeep":"^3.0.0","lodash.foreach":"^3.0.2"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"cd7e6d55284b98138cbb33455709dbe4c1548b6e","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.0.1","_shasum":"a16acd0857f0afa395e653ed6f77f51a6028a824","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"a16acd0857f0afa395e653ed6f77f51a6028a824","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.0.1.tgz","integrity":"sha512-xa0h6EPZJjT8+1st7GTThcU7a0YRq45LF/aCpP/OvjQ2QeK6SmneDJgrpnwaZKQ0uYEsT8qgjzjSHqD0TMcz8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/CWEyNUsTlrBiDwy8dWjNXHSNwBfhnt+w05AmjR9bOAiEAwRthE0glKyKL6uVrLZ/aJkLSHtURLngigrKOOFRRANg="}]},"directories":{}},"1.0.2":{"name":"compare-func","version":"1.0.2","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"https://github.com/stevemao/compare-func"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^1.0.1","lodash":"^3.6.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"d5a9d8c3783dd2be03b178f2f7a4eb0e67cf723c","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.0.2","_shasum":"9334f3a918f7f0e5ffc39866e0f74ac9c3959723","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"9334f3a918f7f0e5ffc39866e0f74ac9c3959723","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.0.2.tgz","integrity":"sha512-u/MP/BpjtR6OZd+BBaxfeDn9kwiWs+jjsNK+Yp27XNIsS3ta2Ovx/4NN3OICdu3Disez8vSsltjaBEEUPJq/mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmuX9QovD8DuDWmxqrqMkM/4P2ZeT01DoovsAxSSZgAAiEAjFnHlSNQBAShWX9fSFr5nSI3QwUFOMEZjEJhys0kVnQ="}]},"directories":{}},"1.1.0":{"name":"compare-func","version":"1.1.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^2.0.0","lodash":"^3.8.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","jscs":"^1.13.1","jshint":"^2.7.0","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"7d2156e05227a810902a5e31e14ba9dec6b6672b","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.1.0","_shasum":"6f89f6ea86abc93678411063351d9632cccb41b5","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"6f89f6ea86abc93678411063351d9632cccb41b5","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.1.0.tgz","integrity":"sha512-WK4WD/x0/WmP1h0BOoFyD3BQnUj0fIkUBU0A8ixVXH3tO5CyqWsiaOkfCr7vzL1XTRWf70nDgT7nsHODshR/hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvfX2UFheczgOB0ebD84tv2FEuCxi2ToZcu9Zsol/BaAiEA119iJIgfWKF3n/z/bsftvESYuOFt7IxJciX8Kb90PAc="}]},"directories":{}},"1.2.0":{"name":"compare-func","version":"1.2.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"clone":"^1.0.2","dot-prop":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","jscs":"^1.13.1","jshint":"^2.7.0","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"a0aa0985a95383745b6a1b48f375625ece0d7479","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.2.0","_shasum":"5df100650f315ad3c8d314603ecd7cf8261174fc","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"5df100650f315ad3c8d314603ecd7cf8261174fc","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.2.0.tgz","integrity":"sha512-R4wJbjd1owU6Os+eeHvwelR0kPpVDTi4SsMF8WI3K7WaUqesAYIm4R+/OshA/Q9CL5MBTNixKI2MKbXB6jfKQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkh1pMJqR0grGIQ+y4bGVYCaJYruNKljewYQozi2AHQAiBFZedldih46MSRS3VhsRKl6qs4omWz7KOIgCTM+0AskQ=="}]},"directories":{}},"1.3.0":{"name":"compare-func","version":"1.3.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"dot-prop":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","jscs":"^1.13.1","jshint":"^2.7.0","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"9502a2717428a24acc41feb8d3092da1b11e9121","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.3.0","_shasum":"3752e5f11639d379c12499e716fb36e3fc86d9c5","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"3752e5f11639d379c12499e716fb36e3fc86d9c5","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.3.0.tgz","integrity":"sha512-aDD3++qQ+tHJp62jdggDWH9TiOy29Kc8OxCrRhXDbNboP/Kd5YXb2hFEWO+gk/Ek/8zjHN7tIMD0HF4XrIkBAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYox8pSPxTuWEeo2sA/EAZ8SJJK9kZWKDimARUwIT4pAiEA5ju9LCofwjv9kvT3IpfEElNGBx5rUoOyEZy/gRY19Bg="}]},"directories":{}},"1.3.1":{"name":"compare-func","version":"1.3.1","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"array-ify":"^1.0.0","dot-prop":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","jscs":"^1.13.1","jshint":"^2.7.0","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"9cd7929d9b2649438a6c02be25a204ace87ee80d","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.3.1","_shasum":"8594f0ffdf23fc021fa51761790be9bc272d23af","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"8594f0ffdf23fc021fa51761790be9bc272d23af","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.3.1.tgz","integrity":"sha512-geFNwowFdZFpVHTssbPdMTnVXhxZ5wBvVaASjHysCkcDIqVRbb4vGYQ+hEs3GYi9DK8zDq8fC4pVwq1dQK/Ucw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbGI+enuFGHtlqMOxq4uLU8+7Rz09ISFK5lE1hY3gaaAIgdPkpF7foSaRI92q2kRC0Em5esYca+dadABPPDcIoCK0="}]},"directories":{}},"1.3.2":{"name":"compare-func","version":"1.3.2","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","files":["index.js"],"keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"array-ify":"^1.0.0","dot-prop":"^3.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.4.4","jscs":"^3.0.5","jshint":"^2.7.0","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"8b3d32bc2540aae38a000205ea3345a77e0e1b50","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.3.2","_shasum":"99dd0ba457e1f9bc722b12c08ec33eeab31fa648","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"dist":{"shasum":"99dd0ba457e1f9bc722b12c08ec33eeab31fa648","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.3.2.tgz","integrity":"sha512-k6Qzw6O4v6q/F0vL+rn95LwQoWtqJv6+dtbVPw/jC0zKGphAdq++3Q1ZVm25XbqOQ7kFXlBbJoycmsaFPDop3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9SAXs4X4lbZr1Pm4FaUx73PVKnIasSkuAoydwtyyv1AiBi4y6KmvFwLumfM1DdDHjxQ1l/PueO1bpxBWmCIXBFLA=="}]},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/compare-func-1.3.2.tgz_1467271872418_0.13966840622015297"},"directories":{}},"1.3.3":{"name":"compare-func","version":"1.3.3","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"array-ify":"^1.0.0","dot-prop":"^5.1.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.4.4","jscs":"^3.0.5","jshint":"^2.7.0","mocha":"^2.5.1"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"ba4a5e0c416b4a65f37ffd75f05c17fd8bf069c0","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.3.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-h6V4KnFKU7rovduMM6HLFvf13+dq+JeN8thEWg5qqpF91NTKnTT7j0Rq7A2q+XhXs3awXeUAeKiJFoqTfWZKUw==","shasum":"eec550dcc84c78c037517626c79ce3abba1c1b5b","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.3.3.tgz","fileCount":4,"unpackedSize":4762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevpi3CRA9TVsSAnZWagAAsVwQAJrl3ZzU4QRQBTzpgT0K\n3GggRJGfxf/cqTvadO3QX3n5IDn0yA944CiC2uekl+M/8j90nTxMivYAzAqk\nbDjOOr9rlHZcoJkTJY9U+IzkF7H448CIFSIw7H4IdyJ7oFGhhYv9n/4bx0g8\n58IfYwxjzGatNxnSO+4KseXH+ndDeRObaWErZOsri5+rTt9nt/VPlubphzk6\n5CkypczsxrY1M44iRTilbSZkkQ3ocGLJfmJZmD8NOrvFnRwswDqgf66618GR\n7rYYguBNbat+7O5JgD9PPlyyMMPePYPNJ47uyuO5vnGBaiWwiyK5lcUooZXY\nlfbm5PGAEf0xuhfTKcF1lJie/1JoYl6Xq1gmzo4Vw4plfzphMewlKtl2SijT\nqhssmvRRGjWNEV6HQzm6rckk1t+ccJk56d5WYFuCgwrmd3m/ljNMAcL+J6QU\n1Y3EEGyFK7pHxkrkVuN8G6r8+IwberU0mmX4mPembxxnaiQfqGFDjElO3biX\nYoe+dVKB238j7oO9kfS0SfLvrhli0AZofF41FMm15CTz8TBepI1j5PkpRKxx\nYypaRSRFHvQ286g2DToR46g/yvYofW8Zo9lKNzvkEQrahWg9efBMrZyXbAbf\nPeF1JRvXRxJIa/vEYXgo0CMo9RQPjELE3YsWl+9bQYpRqJ1ub0gUXXh/iwxw\nTPD+\r\n=2VC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXsL9xQhx6UZ4ine8+yDm2gbfFvLCCadqHYCIp+4X80AiEAoCRuVVB6bykwHKQJ0qqyhrwktaOGlO3FHAV2Ka4UMTc="}]},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-func_1.3.3_1589549239237_0.4028682486255428"},"_hasShrinkwrap":false},"1.3.4":{"name":"compare-func","version":"1.3.4","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"array-ify":"^1.0.0","dot-prop":"^3.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.4.4","jscs":"^3.0.5","jshint":"^2.7.0","mocha":"^2.5.1"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"a04010a32bd7aaf895771016ea21d8c190af0f29","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@1.3.4","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q==","shasum":"6b07c4c5e8341119baf44578085bda0f4a823516","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-1.3.4.tgz","fileCount":4,"unpackedSize":4762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevpnxCRA9TVsSAnZWagAANDQQAIzS1gppodIjgRea02UY\nILx5HelBkTHC7c5ujlsAdwXH8SQPoFeyAC/3KEGz9ux2zcOEi0f4UdUmW1ij\nBFAaDZXqGvPMA3RZFBDVEJYvYCL+ptLuFgKiLD6M8o840UqIWuuLQfqOr7I4\nyD2crTBwEo1XxHncBV8/MxTk4DTKG1M1z5hHIeS6vVQbA6lYwcwVSfEqxDaO\n3yriVFf3Xyj5MPFU9bhC5udC/iqqz4h7InhEE8ELDLcQXTopTjRspaEIM37l\nxHbxAUAXyixdY6qdF2b7pITybZH8qtz83+cCN6qNUfV2Coi+D3AafoPV7+NX\nnVBd+0CAe8IHxmvIpNOwkgsuiwoGs8LlHNl+gvIzYZKZTZk7/qZexD8UFv7y\nSmh7ssyPXJp5tat0saFCJMpiZ28b74ZZuZGngwJUEFUHdTdQj8mA1oUi5Itt\nj9OtP/aJvLpmX7kU0yzS7/ZLEl0/LvDD7TxWTip1U4wZSMRDUbgZy9XLI/vH\njbcPgsjTRvQKSiU7cRsQma/pWUI1h5sULMp6yefo6Ik0jKkZW+yJyZsQmdbW\nkHPnRtbHE1FrHxwdhOgWUVT+AcHU4TFkxbDaiqoB1TkHh7SDcMW2KvapC5W1\npD8e+/bCtdgheIKHyc/A4WFfIS20E8dLbKA9N2nYJ/AsJ9w2JCmbS6mt9wid\nYMBO\r\n=+h1m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaBLPmyUzbKziFx6hd3tGjZm82x6SAdGftya6rAxYl5AiEAhzduMnaIip9efp+0Zdi+wO9IoZVHlgpf2JJ5kOvscu0="}]},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-func_1.3.4_1589549553194_0.9922857999180084"},"_hasShrinkwrap":false},"2.0.0":{"name":"compare-func","version":"2.0.0","description":"Get a compare function for array to sort","homepage":"https://github.com/stevemao/compare-func","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/compare-func.git"},"license":"MIT","keywords":["compare-func","arr","array","by","compare","dot","get","obj","object","prop","property","sort","sorting"],"dependencies":{"array-ify":"^1.0.0","dot-prop":"^5.1.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.4.4","jscs":"^3.0.5","jshint":"^2.7.0","mocha":"^7.1.2"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"ea273199551fcb4fdfd6c34a37cb263e5117825d","bugs":{"url":"https://github.com/stevemao/compare-func/issues"},"_id":"compare-func@2.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==","shasum":"fb65e75edbddfd2e568554e8b5b05fff7a51fcb3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/compare-func/-/compare-func-2.0.0.tgz","fileCount":4,"unpackedSize":4762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevpqaCRA9TVsSAnZWagAAb8wP/jwGzWwq9bysqIY+gQb0\n9GJ4IGoZAHSx2yEAPqEODjcA4InZzqB78qvr83z/9+k1G14DJSVgjIItwNKr\nP0TxlKKPC2DjIvc6rrDN+0vnklqCvOSjv/TfLLMG3xRk+XnFxhTewvG92NSt\nZaCaUmLl5gUMFFuWp+9ZF86tfFYdZaxul2ric4Zd0EWeKw8QmPWHZdZV50bF\nuNJAtmNuiTjl8F3/vX0sacdMHFnh720ABlZiywUJdadN+OLVKZTNE3iJF/eE\nNVZ6/pLjxDhUIpXz7mLpmEESFxRlygopQYu98KFh3rIOOEdZ6J2vHpXAt6m7\nulG8/eUR1uyYLadH3BHXYU/fidfIJbs5kIHv1HXivgZUslpTWMlGaQisNQ2M\nFzScCrUF0VaEhL11lQCroTdP7Dq2zvbry3MAIQa20Hm1G3w+iCaWjAQHggWK\nN1EKA0KyXORpH7xI62iSpPndVBtbSlJTJda42pUZFDp1Gpgfo36J1zwpzfNQ\nekiLIX4q3eovYYqthzKbCPDwKWCXbamYu97D68m/SaSwWaIiCURBT1ce9557\nABx5IOh9DN8/8csK7aJjKrBC4uLju5/x0dRYyCQH1PoiI8kgGrjcy3RqoCLg\n+tlTyMtCs7uFWg77q0S8uHXzG3eyYP0LGWuZqyJJiQrON1WRp7Syfghk01/T\nF4ml\r\n=lmQC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICexQkxRPcniQAbSHI0TSHrmKPeXvifhVQE3jGtODgfxAiEAm1WLsvZ/uSP4swBRt2zUQrf8Pj+pQHAmkOOtXg9PFjs="}]},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-func_2.0.0_1589549721737_0.64007997733769"},"_hasShrinkwrap":false}},"name":"compare-func","time":{"modified":"2022-06-13T19:40:34.200Z","created":"2015-04-03T13:03:01.080Z","0.0.0":"2015-04-03T13:03:01.080Z","1.0.0":"2015-04-03T13:10:58.110Z","1.0.1":"2015-04-03T13:14:17.080Z","1.0.2":"2015-04-03T14:04:51.117Z","1.1.0":"2015-05-02T03:05:18.162Z","1.2.0":"2015-05-04T07:15:33.336Z","1.3.0":"2015-06-13T05:17:37.438Z","1.3.1":"2015-06-14T23:37:18.850Z","1.3.2":"2016-06-30T07:31:12.949Z","1.3.3":"2020-05-15T13:27:19.409Z","1.3.4":"2020-05-15T13:32:33.317Z","2.0.0":"2020-05-15T13:35:21.878Z"},"readmeFilename":"README.md","homepage":"https://github.com/stevemao/compare-func"}