{"_id":"shallow-equals","_rev":"7-4be0227414ac899a49441058f4d786af","name":"shallow-equals","description":"Determine if an array or object is equivalent with another, *not* recursively","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"shallow-equals","description":"Determine if an array or object is equivalent with another, *not* recursively","version":"0.0.0","main":"index.js","browser":"index.js","dependencies":{},"devDependencies":{"tape":"~2.5.0"},"scripts":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/shallow-equals"},"bugs":{"url":"https://github.com/hughsk/shallow-equals/issues"},"homepage":"https://github.com/hughsk/shallow-equals","keywords":["shallow","equals","compare","equality","check","test"],"_id":"shallow-equals@0.0.0","dist":{"shasum":"071b29fea3d8b40ae69d9ff63fc468b0b422878b","tarball":"https://registry.npmjs.org/shallow-equals/-/shallow-equals-0.0.0.tgz","integrity":"sha512-iur+w5SGzgGnCcBmRHPzZVyZ8xICgwFbIQDVcq9yOYG/VbLDGdV9u2XvFBqd0S4DIV2C/2u1AQiVOr6dEp1+qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt393JHnSgTR42XOVJ5gF9qmQx1H1OQjrDpfmKPulUIAIgba+kWE1rP2w+EZ9OZiqg+I0Ub0PoQcj+fa5YKxqH7dI="}]},"_from":".","_npmVersion":"1.4.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"0.0.1":{"name":"shallow-equals","description":"Determine if an array or object is equivalent with another, *not* recursively","version":"0.0.1","main":"index.js","browser":"index.js","dependencies":{},"devDependencies":{"tape":"~2.5.0"},"scripts":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/shallow-equals.git"},"bugs":{"url":"https://github.com/hughsk/shallow-equals/issues"},"homepage":"https://github.com/hughsk/shallow-equals","keywords":["shallow","equals","compare","equality","check","test"],"gitHead":"e8c5b79d675da3e574da40db22e0487863b05dc4","_id":"shallow-equals@0.0.1","_shasum":"e9a829774ff45d35f471f3efe8c2967395eb0f12","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"e9a829774ff45d35f471f3efe8c2967395eb0f12","tarball":"https://registry.npmjs.org/shallow-equals/-/shallow-equals-0.0.1.tgz","integrity":"sha512-VQIKrbYxqETHJyUdNTm8Ezs38AcKJXL7n4ZnFKt6gvlYnDCzOepsJ/QPU28WIFCiN0SucoysgKtkkKHLufBXPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq6kHidGS9rwbzb+wurdYO40rQhl0WWqw3eLSFtO9RNgIgW9ZnlrFAd5H/sAmhEIDpM+yc5v/9pCTnfD9ztDmSFvw="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/shallow-equals-0.0.1.tgz_1486940972259_0.9578772243112326"}},"1.0.0":{"name":"shallow-equals","description":"Determine if an array or object is equivalent with another, *not* recursively","version":"1.0.0","main":"index.js","browser":"index.js","dependencies":{},"devDependencies":{"tape":"~2.5.0"},"scripts":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/shallow-equals.git"},"bugs":{"url":"https://github.com/hughsk/shallow-equals/issues"},"homepage":"https://github.com/hughsk/shallow-equals","keywords":["shallow","equals","compare","equality","check","test"],"gitHead":"4a18dcddf7400d6effbdabdc26fc99413a7cb3b6","_id":"shallow-equals@1.0.0","_shasum":"24b74bf1c634c11ed4c7182a6df6fb300dce4390","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"24b74bf1c634c11ed4c7182a6df6fb300dce4390","tarball":"https://registry.npmjs.org/shallow-equals/-/shallow-equals-1.0.0.tgz","integrity":"sha512-xd/FKcdmfmMbyYCca3QTVEJtqUOGuajNzvAX6nt8dXILwjAIEkfHc4hI8/JMGApAmb7VeULO0Q30NTxnbH/15g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRVIOVsofXQxdKQC/C/fnKnOMjsnHbkYO1AbLpc180JAIgQgWZh6/Ge1rGIQGpCSxk9JQWXBt5aYVGz6oz55t98tY="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/shallow-equals-1.0.0.tgz_1486940998379_0.3298919638618827"}}},"readme":"# shallow-equals [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/shallow-equals&title=shallow-equals&description=hughsk/shallow-equals%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #\n\nDetermine if an array or object is equivalent with another, *not* recursively.\n\n## Usage ##\n\n[![shallow-equals](https://nodei.co/npm/shallow-equals.png?mini=true)](https://nodei.co/npm/shallow-equals)\n\n### `equals(a, b, [compare])` ###\n\nCheck if `a` and `b` are pretty much the same thing. Note this won't be the\ncase if `a` and `b` are different types (e.g. Array vs. Object, String vs.\nFunction).\n\nBy default, all comparisons between values are using the strict equality\n(`===`) operator. You can also pass in a custom `compare` function to override\nthis behavior.\n\n``` javascript\nvar equals = require('shallow-equals')\n\n// true:\nequals([1, 2, 3], [1, 2, 3])\n\n// true:\nequals({ hello: 'world' }, { hello: 'world' })\n\n// false:\nequals([1, 2, {}], [1, 2, {}])\n\n// true:\nequals([1, 2], [\n  { value: 1 },\n  { value: 2 }\n], function(a, b) {\n  return a === b.value\n})\n```\n\n## License ##\n\nMIT. See [LICENSE.md](http://github.com/hughsk/shallow-equals/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"time":{"modified":"2022-06-26T18:35:10.909Z","created":"2014-02-26T12:40:10.202Z","0.0.0":"2014-02-26T12:40:10.202Z","0.0.1":"2017-02-12T23:09:32.500Z","1.0.0":"2017-02-12T23:10:00.282Z"},"homepage":"https://github.com/hughsk/shallow-equals","keywords":["shallow","equals","compare","equality","check","test"],"repository":{"type":"git","url":"git://github.com/hughsk/shallow-equals.git"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"bugs":{"url":"https://github.com/hughsk/shallow-equals/issues"},"license":"MIT","readmeFilename":"README.md","users":{"hustler":true}}