{"dist":{"shasum":"754159aa8bf9fe08be1f1dca141787b7ab64fa77","tarball":"https://registry.npmjs.org/invert-hash/-/invert-hash-0.0.0.tgz","integrity":"sha512-JDi3yV+zQKHJHaS2v/sfJtwZdM0Rs8nUtDv8Z+bltSG5fVOQeBaMnT0a1ZC7Gs1RcwBRfhNFlCWle8IJAlLG5w==","signatures":[{"sig":"MEUCICbtu4IUY15JO7JowAc2lF9oQS2+JkGuuts63N92ftJFAiEAujpQeUjztuhOnaDxUKH40E0xeijbxGm2CrvaiRfSgu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"invert.js","name":"invert-hash","_from":".","author":{"name":"Mikola Lysenko"},"readme":"invert-hash\n===========\nComputes the inverse of a hash, assuming that it is bijective.\n\n# Example\n\n```javascript\n\nvar invert = require(\"invert-hash\")\n\nconsole.log(invert({\n  'a': 1,\n  'b': 2,\n  'c': 3\n}))\n\n//Prints out:\n//\n//  {\n//    1: 'a',\n//    2: 'b',\n//    3: 'c'\n//  }\n//\n```\n\n# Install\n\n    npm install invert-hash\n\n### `require(\"invert-hash\")(obj)`\nComputes the inverse of a hash\n\n* `obj` is a hash object\n\n**Returns** An object whose keys are the values of `obj` and whose values are the `keys` of object.\n\n# Credits\n(c) 2013 Mikola Lysenko. MIT License\n","gitHead":"62d7020ba76f19cf70c0cc651e64ad2931c47366","license":"MIT","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"keywords":["invert","hash","object","dictionary","inverse"],"repository":{"url":"git://github.com/mikolalysenko/invert-hash.git","type":"git"},"_npmVersion":"1.2.17","description":"Inverts an object hash","directories":{"test":"test"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"dependencies":{},"readmeFilename":"README.md","devDependencies":{"tap":"~0.4.1"},"_id":"invert-hash@0.0.0","version":"0.0.0"}