{"_id":"invert-hash","_rev":"5-e7ea352872aa7b4aa9d786cda1f9697b","name":"invert-hash","description":"Inverts an object hash","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"invert-hash","version":"0.0.0","description":"Inverts an object hash","main":"invert.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.4.1"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/invert-hash.git"},"keywords":["invert","hash","object","dictionary","inverse"],"author":{"name":"Mikola Lysenko"},"license":"MIT","readmeFilename":"README.md","gitHead":"62d7020ba76f19cf70c0cc651e64ad2931c47366","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","_id":"invert-hash@0.0.0","dist":{"shasum":"754159aa8bf9fe08be1f1dca141787b7ab64fa77","tarball":"https://registry.npmjs.org/invert-hash/-/invert-hash-0.0.0.tgz","integrity":"sha512-JDi3yV+zQKHJHaS2v/sfJtwZdM0Rs8nUtDv8Z+bltSG5fVOQeBaMnT0a1ZC7Gs1RcwBRfhNFlCWle8IJAlLG5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbtu4IUY15JO7JowAc2lF9oQS2+JkGuuts63N92ftJFAiEAujpQeUjztuhOnaDxUKH40E0xeijbxGm2CrvaiRfSgu8="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]}},"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","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-19T01:54:46.778Z","created":"2013-04-16T17:14:34.045Z","0.0.0":"2013-04-16T17:14:35.221Z"},"author":{"name":"Mikola Lysenko"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/invert-hash.git"}}