{"dist":{"shasum":"aaa128e62c9b3c358094568c219ff64fe489d42a","tarball":"https://registry.npmjs.org/array-indexofobject/-/array-indexofobject-0.0.1.tgz","integrity":"sha512-tpdPBIBm4TMNxSp8O3pZgC7mF4+wn9SmJlhE+7bi5so6x39PvzUqChQMbv93R5ilYGZ1HV+Neki4IH/i+87AoQ==","signatures":[{"sig":"MEUCIFNf5sQm/Kai4PTS/uJXnKrW+Ohw+75SvYQNbh0CRIQzAiEAwJvuJ3jtk+wkEsG2QHo0Wi8o2CDPPgBI+6c6JBg6rgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"array-indexofobject","_from":".","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"readme":"array-indexofobject\n===================\n\nLike Array#indexOf but for objects used like hashes\n\n## Examples:\n\n```js\n    var arr = [];\n    var obj = { a: 1, b: 2, c: 'a b c'};\n    var obj2 = { a: 1, b: 2, c: 'a b c'}; // same key/value pairs\n    arr.push(obj);\n    arr.indexOf(obj); // 0\n    arr.indexOf(obj2); // -1\n    indexOfObject = require('array-indexofobject');\n    indexOfObject(arr, obj); // 0\n    indexOfObject(arr, obj2); // 0\n```\n\nBy default, all properties in the object must match. Optionally, you can instead\npass one or more keys to use for comparison.\n\n```js\n    var arr = [];\n    var obj = { a: 1, b: 2, c: 'a b c', d: 'something'};\n    var obj2 = { a: 1, b: 2, c: 'a b c', d: 'this key is not important'};\n    arr.push(obj);\n    indexOfObject(arr, obj2); // -1\n    indexOfObject(arr, obj2, 'a'); // 0\n    indexOfObject(arr, obj2, ['a', 'b', 'c']); // 0\n```","gitHead":"3dc01a0f59add1210ff4189e13312bb9e3d31375","license":"MIT","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"keywords":["utilities","array","object"],"repository":{"url":"git://github.com/danmactough/node-array-indexofobject.git","type":"git"},"_npmVersion":"1.2.2","description":"Like Array#indexOf but for objects used like hashes","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}],"readmeFilename":"README.md","_id":"array-indexofobject@0.0.1","version":"0.0.1"}