{"_id":"property-handlers","_rev":"21-d80c2fe2c5fb3ec1416dfc0d9108f2b8","name":"property-handlers","description":"Utility for mapping object properties to handler functions","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.0":{"path":"/Users/psteeleidem/development/github/patrick-steele-idem/property-handlers/package.json","name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"0.1.0","_id":"property-handlers@0.1.0","dist":{"shasum":"c31deeafbad973792a745ebda0b9b6ed5e61ba3d","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-0.1.0.tgz","integrity":"sha512-yPMjGQTH12vAd8bUAiH4XeYSNI+q4K/Y7l8O+YOwoqVBooBCsbxtCegI9esDeAJRleR4nyGbYHPZIUZoU0UHSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHqljQOL772OxrzTlCSfE+S+vEZGl9WqVJN563gBqj3AiEA6y0heOLe+r9fLhbIskSi3c7VkdtpUS+iNJaEQbvIKXU="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}]},"0.2.0-beta":{"path":"/Users/psteeleidem/development/github/patrick-steele-idem/property-handlers/package.json","name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"0.2.0-beta","_id":"property-handlers@0.2.0-beta","dist":{"shasum":"15beb9b7ae71109d85fb9e83a6fabda8a4a15e85","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-0.2.0-beta.tgz","integrity":"sha512-6GFS7Xih7h1KGB3VersRYTyzBXZpAGSPGifGeW41L4IqkC3hZrtnpacEuKvD9pZNkLfhJDUyC4euxa2vI9cvfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACePT3N2hFBY27EQQRI1PM+F9S+J+TEswdQC5fdkOG5AiEAlGcJ5NBhfg5O9O3khD2IGrqqZM/CezCgXD7ePI1SP/o="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}]},"0.2.1-beta":{"path":"/Users/psteeleidem/development/github/patrick-steele-idem/property-handlers/package.json","name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"0.2.1-beta","_id":"property-handlers@0.2.1-beta","dist":{"shasum":"6663dda58230440e3a90ece2b7744191eb9feb16","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-0.2.1-beta.tgz","integrity":"sha512-tfoEtrIAvogwQbHHLIr6QtvJAW5Iaes2c7wpYnhI8gyKENyxCQO8+XYUwmp0bVU1lZpgL9gKcK7zuKegFYeL9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOmU5qmvQasKLEss5UNXXfPFJ4hqwazGwO++TX3QGbmgIgUS8FdcLbqyoOFK+JE/NEClBe1SGSwr2iY056bbG4woE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}]},"0.2.2-beta":{"name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"0.2.2-beta","_id":"property-handlers@0.2.2-beta","dist":{"shasum":"e06456d2048a0be8910af33a34bf7635618db484","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-0.2.2-beta.tgz","integrity":"sha512-dma8hw7YZkXxKwwKCWXVSr2nykFNmXG05fnU/xd5osmBnk8wxYaG9LKM4Kz2V2Cm4NQKoqRvVOeLpDi6tWYOPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpJVmbG8JnGv12tMNgzRyzkNgBfdelzYwRRGs21PzBigIgaHGy1/WsmNW0BC44iQ3KOyZbpAMXy+xSTvIBEem3K5A="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}]},"1.0.0":{"name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"1.0.0","gitHead":"01f099ebb775c7504061a77537216562d611845a","_id":"property-handlers@1.0.0","_shasum":"9e2256dd278460bbe129868da191c85d3d164bd0","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"9e2256dd278460bbe129868da191c85d3d164bd0","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-1.0.0.tgz","integrity":"sha512-gCM0oIcDFFSXFttTrN+knpQ3m4L50cLtl2u5mujgdMitMewTTMjJ4DE9vt9Fanny/o//h74MSBj6a31Waih1nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5SqK7FaZAZrPSDbN8AnWLdATf3Or9RZEDrkN/viaF+QIgHOxRll0r9GuvPwm3SAR+jUQbYMuByL90kL7Erd4JNnI="}]}},"1.0.1":{"name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"1.0.1","gitHead":"b8f4bb6e56664e6978dd1e79f08b30e53b6906d1","_id":"property-handlers@1.0.1","_shasum":"9e756774da55085969d39e0a35c6f6117616781f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"9e756774da55085969d39e0a35c6f6117616781f","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-1.0.1.tgz","integrity":"sha512-NIlL7y/W4Nx0EINkC5ZzGemYq8wRbDh2sfcrQwijxmGGJ6tKt9jSMYQCWa93wPOu0j4v/Bv0bqL7X1mAnQQYww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHbN57yV5IigL2zJha00UeyEtomwXGHD/Iuc0njr/1tAIgXSoRaxYIw/9IBICcraadJIkABboveMEfB5SW279raUY="}]}},"1.1.0":{"name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"1.1.0","gitHead":"32f7f80b23d0de11cfa188096d4f59aff71af272","_id":"property-handlers@1.1.0","_shasum":"af402249b2118932938d37d99e068a59a3a28dea","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"dist":{"shasum":"af402249b2118932938d37d99e068a59a3a28dea","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-1.1.0.tgz","integrity":"sha512-Kb4wRTHiZ2sSwgIkJ2cY8GGYV7gYcrxXTWYEVCIJMENYxbdZtwr2JF5v4ecAKYxQPeb9z2FkRk3jtpVyf95iQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHPy0IZsFY21SxDic51fIsd5E5Njt/4GQUCgk85n88xAIgF2O8Vh8p2EOnLVNq9egbxzQXqL2gY3fJK8hUYQmYH/8="}]},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/property-handlers-1.1.0.tgz_1468423265147_0.8044444392435253"}},"1.1.1":{"name":"property-handlers","description":"Utility for mapping object properties to handler functions","main":"lib/index.js","scripts":{"test":"mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib"},"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"keywords":["utlity","object","properties","handler","functions"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"homepage":"https://github.com/patrick-steele-idem/property-handlers","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","jshint":"~2.4.4"},"version":"1.1.1","gitHead":"eee9832443e1c7b1fd6698b148ba0bf613606b38","_id":"property-handlers@1.1.1","_shasum":"cb20d322aab7d94fffac28f46c9186bd5947b4b4","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"dist":{"shasum":"cb20d322aab7d94fffac28f46c9186bd5947b4b4","tarball":"https://registry.npmjs.org/property-handlers/-/property-handlers-1.1.1.tgz","integrity":"sha512-bPlermJL6CETDwI6SxODyMzr1a0aXzbXpNGCW9SnsnetEMJdjon1mdgLbidSN7o47B2oqLOwXYzGyyIQHsQrmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjeWTBoTfbcnzfPjZ3+qiLcEyBMuyR+5vewfx0Xfm5RAiEAk/pUt4GpDvo8G7AaWQgcTDOLb2KdSOAuXQgLvHaCwU0="}]},"maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/property-handlers-1.1.1.tgz_1468961327184_0.5030695889145136"}}},"readme":"property-handlers\n=================\n\n# Installation\n```\nnpm install property-handlers --save\n```\n\n# Usage\n```javascript\nvar propertyHandlers = require('property-handlers');\npropertyHandlers(object, handlers, path);\n```\n\n## Arguments\n* `object`: An object with properties\n* `handlers`: An object with properties that correspond to allowed properties. The value of each property should be a handler `function`\n* `path`: Used for error reporting\n\n## Example:\n```javascript\nvar object = {\n    foo: 'foo',\n    bar: 'bar'\n};\n\npropertyHandlers(\n    object,\n    {\n        foo: function(value) {\n            // value === 'foo'\n        },\n\n        bar: function(value) {\n            // bar === 'bar'\n        }\n    },\n    'some path');\n```","maintainers":[{"email":"austin.kell47@gmail.com","name":"austinkelleher"},{"email":"pierceydylan@gmail.com","name":"dylanpiercey"},{"email":"ml.rawlings@gmail.com","name":"mlrawlings"},{"email":"pnidem@gmail.com","name":"pnidem"}],"time":{"modified":"2022-06-24T20:20:22.558Z","created":"2014-02-26T20:39:59.128Z","0.1.0":"2014-02-26T20:40:00.816Z","0.2.0-beta":"2014-02-26T23:42:05.809Z","0.2.1-beta":"2014-03-04T23:37:42.143Z","0.2.2-beta":"2014-04-14T21:03:13.008Z","1.0.0":"2014-09-22T20:15:48.476Z","1.0.1":"2015-04-24T15:41:42.421Z","1.1.0":"2016-07-13T15:21:07.425Z","1.1.1":"2016-07-19T20:48:48.726Z"},"readmeFilename":"README.md","homepage":"https://github.com/patrick-steele-idem/property-handlers","keywords":["utlity","object","properties","handler","functions"],"repository":{"type":"git","url":"git://github.com/patrick-steele-idem/property-handlers.git"},"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"bugs":{"url":"https://github.com/patrick-steele-idem/property-handlers/issues"},"license":"MIT"}