{
  "name": "array-indexofobject",
  "version": "0.0.1",
  "description": "Like Array#indexOf but for objects used like hashes",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/danmactough/node-array-indexofobject.git"
  },
  "keywords": [
    "utilities",
    "array",
    "object"
  ],
  "author": {
    "name": "Dan MacTough",
    "email": "danmactough@gmail.com"
  },
  "license": "MIT",
  "readmeFilename": "README.md",
  "gitHead": "3dc01a0f59add1210ff4189e13312bb9e3d31375",
  "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```",
  "bugs": {
    "url": "https://github.com/danmactough/node-array-indexofobject/issues"
  },
  "homepage": "https://github.com/danmactough/node-array-indexofobject",
  "_id": "array-indexofobject@0.0.1",
  "_shasum": "aaa128e62c9b3c358094568c219ff64fe489d42a",
  "_from": "array-indexofobject@0.0.1",
  "_resolved": "https://registry.npmjs.org/array-indexofobject/-/array-indexofobject-0.0.1.tgz"
}
