{"_id":"invite","_rev":"10-534603c2c79c9451c3c15408a9480e07","name":"invite","description":"Invitation system backend by nodejs and redis","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"invite","version":"0.0.0","description":"Invitation system backend by nodejs and redis","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/bredele/node-invite.git"},"keywords":["invite","mail","join","organization"],"author":{"name":"Olivier Wietrich","email":"olivier.wietrich@gmail.com","url":"http://github.com/bredele"},"license":"MIT","bugs":{"url":"https://github.com/bredele/node-invite/issues"},"homepage":"https://github.com/bredele/node-invite","_id":"invite@0.0.0","dist":{"shasum":"b1415cdd5b3c5b99a297dbbb0ae4129a8d23ce83","tarball":"https://registry.npmjs.org/invite/-/invite-0.0.0.tgz","integrity":"sha512-5n+iVhh0ne5w98jSNcX+Fu6l6iUj16huD9bTyArjxCkOhOpU48Ok5N4Q6MsqhXkP/JeLN7GdF80Cl8XKQZ5zKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFu3D6p5UmI13etrmpszGsqGodt82M1vADIsMbtTvSQIAiEAuEGTD5L3f3d3Jy4nch3UaKMLtjYESo9+BkOr5m7B128="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bredele","email":"olivier.wietrich@gmail.com"},"maintainers":[{"name":"bredele","email":"olivier.wietrich@gmail.com"}]},"0.0.1":{"name":"invite","version":"0.0.1","description":"Invitation system backend by nodejs and redis","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/bredele/node-invite.git"},"keywords":["invite","mail","join","organization"],"author":{"name":"Olivier Wietrich","email":"olivier.wietrich@gmail.com","url":"http://github.com/bredele"},"license":"MIT","bugs":{"url":"https://github.com/bredele/node-invite/issues"},"homepage":"https://github.com/bredele/node-invite","devDependencies":{"mocha":"^1.18.2"},"dependencies":{"redis":"^0.10.1","hiredis":"^0.1.16","component-emitter":"^1.1.2"},"_id":"invite@0.0.1","dist":{"shasum":"7530e7bb239ac9096bc4eac260a9a052695ab655","tarball":"https://registry.npmjs.org/invite/-/invite-0.0.1.tgz","integrity":"sha512-6/GEYUz45NhHCdxm7Sisb3R3qdhxh7GJwkMesse/FgzXlyRvE+MocKlCj+MlCxcVVVmMYBm2/ipuNBZ0ur0VCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrWUGeYw+417SYBtwIAofwdQJNCU2wwFtzIHVd6YDwBAiEA+H2hWSEoGi7H5Kg0a/POgLdLSZ/VZorTLUOKaKrXxwg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bredele","email":"olivier.wietrich@gmail.com"},"maintainers":[{"name":"bredele","email":"olivier.wietrich@gmail.com"}]}},"readme":"node-invite\n===========\n\nInvitation system  build for speed.\n\n## Installation\n\n\nwith [nodejs](http://nodejs.org):\n\n\t$ npm install invite\n\n\n## Usage\n\n  Invite crypt and return a uniq key for each invitation.\n\n```js\nvar invite = require('invite')('foo');\n\nvar key = invite('beep@boop.com');\n```\n\n  You can invite someone to join a project/organization:\n\n```js\ninvite('john@doe.com', 'myproject');\n```\n\n  Each invitation is backend by redis and you get feedbacks when a uniq key has been created and/or stored:\n\n```js\nvar user = require('invite');\nvar invite = user('bredele');\n\n// uniq key has been created\nuser.on('invite', function(user, project, address, hash) {\n\t// do something\n});\n\n// key has been stored in redis\nuser.on('created', function(user, project, address, hash) {\n  // so somthing\n});\n\ninvite('foo@bar.com');\n```\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Olivier Wietrich\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","maintainers":[{"name":"bredele","email":"olivier.wietrich@gmail.com"}],"time":{"modified":"2022-06-19T01:55:40.907Z","created":"2014-04-24T17:04:11.421Z","0.0.0":"2014-04-24T17:04:11.421Z","0.0.1":"2014-04-24T19:57:13.640Z"},"homepage":"https://github.com/bredele/node-invite","keywords":["invite","mail","join","organization"],"repository":{"type":"git","url":"git://github.com/bredele/node-invite.git"},"author":{"name":"Olivier Wietrich","email":"olivier.wietrich@gmail.com","url":"http://github.com/bredele"},"bugs":{"url":"https://github.com/bredele/node-invite/issues"},"license":"MIT","readmeFilename":"README.md","users":{"bredele":true,"rkopylkov":true}}