{"_id":"express-user-couchdb","_rev":"67-df65e9e557269a8dd7c1f0407e84ce9d","name":"express-user-couchdb","description":"An express app module connected to couchdb _users table","dist-tags":{"latest":"0.3.6"},"versions":{"0.0.1":{"name":"express-user-couchdb","version":"0.0.1","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4"},"dist":{"shasum":"fc3f8087c7f3fe9e542f654c91221942bd3229cc","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.1.tgz","integrity":"sha512-JKfgRK12HKvGHNXd/hMlLp+budqwJIX6NrFapjPSpPirGnC000BvlCkd7CMiOgtVV/rill7HH5dwMp59pg/Buw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDihcDFZtOM+yNkGJErQiXCxdEyBTqbbJUQ0hFhlh1qAiAPxJCgBjlMnMsyCOD8jcjXSLx5xz05U4hgBBGPKrWJmg=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{},"_id":"express-user-couchdb@0.0.1","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.2":{"name":"express-user-couchdb","version":"0.0.2","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0"},"dist":{"shasum":"56d1ff3babf0388620b786058aff81418ec2f540","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.2.tgz","integrity":"sha512-Kq4tN1qPxYmduOV3LOtG9oek+U9xVTzWi0mRU5qT6FkESYk2kHabIUHQ8GKWlu6rucsAXc//fe78eELaDo/GdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZWuJd+XIvfu8sfb6vtZIJwv5JJMqT0zNq/++0ZV8azQIhAI2B9Kw7humu6jNG1f0gPvGxPrz+eZVS+Eoqi5qK3NMU"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{},"_id":"express-user-couchdb@0.0.2","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.3":{"name":"express-user-couchdb","version":"0.0.3","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0"},"dist":{"shasum":"f81e275d272373a02fbfee7930919adb79390396","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.3.tgz","integrity":"sha512-3b1puIHBMmmS2+xOBVnPVUDhnQ2Y/KOuPsVFgMtlpklIQ98lZSKMtWcme/WK2k+nrImzmukOhkSSF5dieLEE1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuiVzwfKGy3giSIEq40A2EOjraESkSceOgAumwkEzd4AiAyt62zNVEQ0UADe3Mjhu/V2lEQ9d6fNWi2aKtc7FDn7w=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{},"_id":"express-user-couchdb@0.0.3","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.4":{"name":"express-user-couchdb","version":"0.0.4","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0"},"dist":{"shasum":"8101200ee82536fcbfe3070af1720eb9ef063df8","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.4.tgz","integrity":"sha512-lFa6NP4LbmUE4o43KuEagppji5hrw2/RzMFoZQ3CnmIYAYaU+xu+1dTGaPHa9lqO5uNWgxyUnlk2d2F+fhUZWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAC1UbXdCLr4UktjIEUcPBO+cQIJg0X+qEjF7EOQWT0dAiEA3dAiKVSoyg5L4Qn1AfqhhaeQRP4rO47lGlcjAML7gRk="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{},"_id":"express-user-couchdb@0.0.4","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.5":{"name":"express-user-couchdb","version":"0.0.5","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"d8c02afabe3c50079ee2ad1cc7619529d3de54dd","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.5.tgz","integrity":"sha512-xdkpafi9N1rw6yn9+9OHKwG+SIYXuXTgkA2xcqNomT9IuV8Y+aPIKc8kdpDWlNvIhPtzrj4PlWK7yRnYj2uVIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFNr7CoQsrkFif5gnCCWx4hBbSxe9DaIkeajjo4r0F5AiBcyE8ZOKFE5cqc6kDZX+/Y/3J8+s+FRlOzA3GwhFPglQ=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.5","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.6":{"name":"express-user-couchdb","version":"0.0.6","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"f93a77e62ad540ce6c5912b1cf54877b399dbac1","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.6.tgz","integrity":"sha512-pi/BJJcWPaXwYATEqRaxrh15L4iL1MkBM086bKgxnFPSkAxy9Y+EKFy0MHr4mPZ5pCOxg7IiIQvm2DUm8bkOxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhLTTMHqjgY5tTZHqo9G8BfnOmlCS1Da3EMUv+nTUE7AiEA5vytE9xrpOhhmQFE/VdYEF3UxOUrn0lwj/gaBMgpgdw="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.6","_npmVersion":"1.2.17","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.7":{"name":"express-user-couchdb","version":"0.0.7","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"198243324925aabf570c035912336a60d6b3fdc8","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.7.tgz","integrity":"sha512-0975EQYyp9p4dwihRv3B+yRjZs0zGQweiQNQdxYfwjGEcpgM/xlujTtkYzfpZl3vFYzACKt1a8GfCGH+St4K5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZHfQo5RJkF8NEjIu0q21SEECW74oGLlYm/Asp5wH4MAiEA9B3/WfOAPRGNHqzH5vcvdeI5D/TkpsgIKHAu5LetMPA="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.7","_npmVersion":"1.2.17","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.9":{"name":"express-user-couchdb","version":"0.0.9","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"8fc6764bacbae493c3b7a0f16514747d7efdd298","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.9.tgz","integrity":"sha512-ZaZ49eU3ilNxwOBFc7PkEsT0xE5m+7TCpqh0hbqGmpzW2x+o9ASAgHcc/HEhN0TXt/7TXvmh7pxlKfa/LVblPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnIdCR6trSOAnMnFmjcvPajvKo2MaaGZxkFIxvFloCigIgKaSPAQKqCae8GhNCOlCe/sVisxxwGsTaPghzJ/s5ujw="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.9","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.10":{"name":"express-user-couchdb","version":"0.0.10","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"b2a8b4a08df34386f91fd547bc33c833da1a9b92","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.10.tgz","integrity":"sha512-FLn1w/i7qUzBJNp5AYO65h2maGAknysPUt0V4wgXCFTnUR7qdm8+QcACJuuJrxWdaf/RPcxyDbszHpZVCFYzAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjb45xNpc4x7hhX/uwUDSPs3utUWoSHNydWpqZDthvqAiEAkxhzhrj+CN+8IfNn9fQSPlDaVlyfjJU2FcW7TbzugM0="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.10","_npmVersion":"1.2.18","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.11":{"name":"express-user-couchdb","version":"0.0.11","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"16598140b358d9be16006ba5805ffe08a631a205","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.11.tgz","integrity":"sha512-CTW/DnKjb1WC1SpRQiL/zg8DyZCy1QP8JM0v92+iIxvHEtUZrwAZbU2k3sJajhqUBhT/5i2winLMd8zPv+7G2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdDvFM6q4Qi1re4SjoISA2n/vE4UxjnfEAt1ZYpW/sGAiEA9FwQE+xle2ciOUVREEZr+4mtjt/nrg6mcWJgtVC1zZc="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"_id":"express-user-couchdb@0.0.11","_npmVersion":"1.2.17","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.12":{"name":"express-user-couchdb","version":"0.0.12","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"f5dbcd069a2e4c0f7995d9e63c115eb7438e4202","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.12.tgz","integrity":"sha512-Vk999+sz6IyvA3/f6ZR1XtMpyhF3ZoMuliS1Gl7gtLUeaSjFfh+8ROqIA6LalWSE2v7J5SCZpcAyhzCcwD9ZBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYRqPsW5T+A4Xb6Ce+FriFxV0kGBNkCfmlIErymJQBAQIhAKSWxflp/uc7mxAmm6Xnen1nAN5Mx5WvW4enbN8y7hTK"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"_id":"express-user-couchdb@0.0.12","_npmVersion":"1.3.8","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.13":{"name":"express-user-couchdb","version":"0.0.13","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"6c538f6316a53d1bce0c868ee252769ac8c3a016","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.13.tgz","integrity":"sha512-coOAGBpsDWiQ5SyrXlx+Iw0Lc2H8k8wv4eyaave0lkN0HrbZpjYXe6n7pe7jg5mnQI2OfORnJ/33+9EFJ3u8Sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0bUQjLIrZk+pUzUt89QCLAnV1MEXOCJE3MVUeBfnpZQIhAKGHvm4wAUgpzgdlOpiwujHfWwjqcm8EnXLcZ42HM9RF"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"_id":"express-user-couchdb@0.0.13","_npmVersion":"1.3.5","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.14":{"name":"express-user-couchdb","version":"0.0.14","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"e393ea81acdc6da20333a5b6ee20ed013089e33a","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.14.tgz","integrity":"sha512-EA/UWZshT8jkykpc40bv6sXHaPGgwqyVRr+c+V/DQbmSHGpsGEaJGpGasSYAhtbsIXaeA94pbA96Wh6TgS8QjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3jOpaFUF8R7XuAKV6Fud6Z2wlg9Z8CGYjkkYmX1bwXAIhALNtgkK6raS6MVm4V/sWSNgqK5azN3ybMK4g9iYoObh4"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"_id":"express-user-couchdb@0.0.14","_npmVersion":"1.3.5","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.0.15":{"name":"express-user-couchdb","version":"0.0.15","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"5164c884d3e6cebcde16ec42884f86f5aad2f4af","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.0.15.tgz","integrity":"sha512-Wv080jsIcUXsOs2kQQZbWCY9b2q0fU+EnNjkM0luIFR2Jb2nt5es4gPIVt+o2FceTyu4RJ1WBX6rgQF9ItbIuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8cx50OhmApFyLhFY/w+GeD/fZZkuCIbOXtuhZmIa16gIhAJtOocu+U0iBs7aKOSuZ9nP8yfQpYVOQkvuoRJsAG80i"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"_id":"express-user-couchdb@0.0.15","_npmVersion":"1.3.5","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.1.0":{"name":"express-user-couchdb","version":"0.1.0","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"2e5f3d2f6459ba6aee78b9157d0220eebcc08ff0","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.1.0.tgz","integrity":"sha512-nPnT51okF5H0sFspN5uhid/a5NJA8Rp2VqciYB2JRYKQP+tjbnSdUgqDwCDDwYbFKS+1cJOUdd+3zWsnbCtFeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDBdd5YXZDFF9kp8cbr8zO0S6kBCRsCZfv/K4V5Q/ioAiAG71sSDP9YunbO+Jvodd5FEnW/SQid9MUM1fLAB31MKQ=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.1.0","_npmVersion":"1.4.3","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.0":{"name":"express-user-couchdb","version":"0.2.0","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1"},"dist":{"shasum":"e03d68a2770b826fd1fce5024173fe2c9467bf03","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.0.tgz","integrity":"sha512-b/bhMfWjZDWRd+3MroUOcUIpjnGvUKsXsCwDhm0czNzCDn7jiJVp98NGHCSDdAd4e4Xs4r7g2/x1O7i+QMkIHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTVCGuiYWmCrlD12Dm2UMWcZH6nFHd8rw//mbKTLPg6AIgPk7Q3PJTFQTbKVNI9ltDyl0Xp6z+fiazQ+u3WX7otsk="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.0","_npmVersion":"1.4.3","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.1":{"name":"express-user-couchdb","version":"0.2.1","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"938b5207077df3aa8675331d5d1660978bd4a53a","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.1.tgz","integrity":"sha512-eC+38JJmCOnnKzBfkHB51ik2UC0feJXtgJ7ZEdDu4O/zUhkQEZf5nnw/xnWlzpTuUOs5ZrmM8/C+Wwcxcu1F1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0cJjkFodFOBvt5FM7+hj11OxjMX+z66OkOpVYjr0mrQIhAOEC6yDHDqO/+GnfoQwZscmRcw9uhdfykaRKh3H2LAjq"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.1","_npmVersion":"1.3.21","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.3":{"name":"express-user-couchdb","version":"0.2.3","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"a27c9a5eb77e7ca6041af5704a01de879c73e672","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.3.tgz","integrity":"sha512-/GKRaXD1Eih2a2JCeYtxQLBJnqvhuWAFVUgWOIUbUsVPQJXJywqzZtkY+UA9xvrSU4q75OKm/sITgxahsAtiwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+vmHkIpR1VczyfTakxFr7WkHXY6TCgmcdvSRpGRohqAiEAyh876uiA1ZKDqY7Z8WQmFdNfM6f4QWInRAOtvLwitVs="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.3","_npmVersion":"1.3.21","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.5":{"name":"express-user-couchdb","version":"0.2.5","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"5da32b13ece1a8f8e4cd3a6bed64cc4b7191873f","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.5.tgz","integrity":"sha512-Z5/akOaWyhk99+DpWCp1FOMs87X7mwtfLO+5YiKtOzjsDYocZBI5qsz8B+UXP7Yd07S4o5P4ptLbWLlCQEKmwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdbsi9Np41jZFyiXk3HgYwqYxuzVwDGOmjDg0Z7k3+0AiEAtQkvqFXK+OSLFg7yv4bOuqnEvs2J/g0WlFPIKbygkAg="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0","request":"~2.22.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-bump":"0.0.11","nock":"^0.28.3","supertest":"^0.11.0","grunt-mocha-test":"^0.10.2","tap":"^0.4.9"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.5","_npmVersion":"1.4.3","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.6":{"name":"express-user-couchdb","version":"0.2.6","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"808383b0958c185dab63c67a63d15e94d54a7753","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.6.tgz","integrity":"sha512-SHAPQVKHEYB06iYb4ZU71I+68fCCPmkCsPYbU3Btk4TWDHpGK7WmKyGgsSodRP9I0+ALZqVuLk/8PXi7DcZ9ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDveerkP3v2xQ87OAXhtJQAaDXmgVaMVcW4JMOLE0lcRgIhAOUJgrrzdBcGdTT5ap6nwPJ82KuDFykOXgRBwKWW7tnV"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.6","_npmVersion":"1.4.3","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.7":{"name":"express-user-couchdb","version":"0.2.7","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"8e39ff23b98f6516784097717efcf3fd713a1b2d","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.7.tgz","integrity":"sha512-m8F/MYCndbuFodD9Y0ExTI2JdAe9xRiw8+DKsKq9tvUKiB/81UitGbhGXYwC08cEFgJJPo3UUG21Lxa33WVIVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENqgzI1xcDDlvQoIm9+NChxeNIlmuZWtaPy2M7d8Mg/AiEAsOG+U9vCMpTrV/yzDwahmekfCKQoWTfDPLFmij19GhE="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.7","_shasum":"8e39ff23b98f6516784097717efcf3fd713a1b2d","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.8":{"name":"express-user-couchdb","version":"0.2.8","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"69540743bd1da9700cb7ebe5285305dd5d0a0667","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.8.tgz","integrity":"sha512-eKHNZlCMnSfK1RO/BMLPTk2KZyDbs/Vvg0oFH+AHYjPUzlZffYNMf/VA8O8GN4zdZ87uUQD5KCkuY4yVgtCy5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbi8H73pUxOmg7gYSkGhENmznSaGFVhL4dhmgCo/n9gAiAQXeyqUYab6MDTEFAIw+9JxlAE+HNGTBwhj5MGGWSquA=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.8","_shasum":"69540743bd1da9700cb7ebe5285305dd5d0a0667","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.2.9":{"name":"express-user-couchdb","version":"0.2.9","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~3.3.8","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"c3a423f90a8ca74d228f621932d4a45a4406d9ca","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.2.9.tgz","integrity":"sha512-l4d0hUhjimCO5gtNIfLkGGP2yr/rR08tFzrQbxYka67xftli9VKnnb7jEXAbTC7tG6ySqtB5pYB8JGg1UT6qIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWimBbxDsWG3JQtl7NYgdKMYKU9KCic6XgUEovjtDwlAiAM8eGOdfyc0U60JT4TIcoVebTfcAumBsM7r7a5cbor+w=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.2.9","_shasum":"c3a423f90a8ca74d228f621932d4a45a4406d9ca","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.3.0":{"name":"express-user-couchdb","version":"0.3.0","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"dc46188a4e8b9cd1155f91faba8ff74b03cd14cd","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.0.tgz","integrity":"sha512-7i8ohEK7berJZxR53docZB6hAP/7CVKK/sni0urtqyBLXPLRUXT0jIqmZmYzE3pLZjvd+uOy60RK/V5pKjQF3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk5BMrcyNhLRv8fFc34Wk1H8JAScZuwIOVg99yzmhKGAIhAP9bI/TsL0rvzT+Gi/JTiUIPjSZMx36Kl21YUpJRRWLL"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.0","_shasum":"dc46188a4e8b9cd1155f91faba8ff74b03cd14cd","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.3.1":{"name":"express-user-couchdb","version":"0.3.1","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"8ae3a4efddc0d3c3bfd99e4c7f7f3a144718a5b4","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.1.tgz","integrity":"sha512-3c4u1K861ZSSMJbwwuB5k4la8GIEMjxR0KPeaq2kA7aoYnHgF0wbnx+cUNBfl/o2KxC9vicgQeO3xDaK5Cw+vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYjHEXBgjGPSUTarA0pTwEv/YeR81uXKEa9HEsaBoerAiEA52+evGcqfPFAd9t2wbYA3AbAy5Zfxyr40K5HMZvrIXs="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.1","_shasum":"8ae3a4efddc0d3c3bfd99e4c7f7f3a144718a5b4","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.3.2":{"name":"express-user-couchdb","version":"0.3.2","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"373c66b010421ab1929de09abc3a1e890e4b1087","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.2.tgz","integrity":"sha512-OljPUX5L1RF7LOdTAwfL5kLsVTbu4ggUwUBlfTO0afQbjUVFk3o5WL6EGJ7vUdLkftAA0iM9BX/I4WiyDz43ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHa0FaVZS2haLdJgm5qe45KcS8DspyEFWfnrpZC5dXcqAiEAuSEn1hUKaoSvGGgwtK+/qCEJjPXZtxRK2H2r8ns6mpc="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.2","_shasum":"373c66b010421ab1929de09abc3a1e890e4b1087","_npmVersion":"1.4.9","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.3.3":{"name":"express-user-couchdb","version":"0.3.3","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"7059ad173a2b491feffabb8e7f44659cb041ad0a","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.3.tgz","integrity":"sha512-DKr/du/ciiQ0HnFS6mg4u1pq6IEcOVBF1rKpNeJYnPhJShqnsfbGN5QDjHM/GY9mw6P6Hr+7D3m9hIPf7Qi8Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGI8b0m4SuxryYsphtPpZgPRYPdaZllIyG/pjng0AqKKAiEAvWQhyQWuzrhlTdCGaSzVcneYmDOOL7I+PoEP2sj6Pa0="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.3","_npmVersion":"1.4.3","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"}]},"0.3.4":{"name":"express-user-couchdb","version":"0.3.4","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"972c6085e348eede4c8d884a0fb94b627f834a3e","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.4.tgz","integrity":"sha512-COPCMuU4o6u1tamUuI8+SopEU0QlLlNLOsuApcrzIJCOV4qvajI1QY1x1umRN0eyPbjE/HcA46ci4uDdE1nfGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCslV6gYaQn8R+ygdqWK9S/5MlnBZeIJbRbBaThfyacVAIhAOGfxeukZ/pdOqAfRkmgc7KG6yrLsTN/yctLhSUceF//"}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.4","_shasum":"972c6085e348eede4c8d884a0fb94b627f834a3e","_npmVersion":"1.4.9","_npmUser":{"name":"brentcobb","email":"brent.tm.cobb@gmail.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"},{"name":"brentcobb","email":"brent.tm.cobb@gmail.com"}]},"0.3.5":{"name":"express-user-couchdb","version":"0.3.5","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~0.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"2ded2e3f0ac32a53565ec1a80aae994d0891c3be","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.5.tgz","integrity":"sha512-XSg1emLrwUXnMI1+Vu3EGiq+bh5eFX3zwpYU9+iNCBS2NwdJps0Ta2Zuf8eXlSXPnsP5QnCtW6RZS868XvCWEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGC9C1sHTRA2HWx2lWCq6O94Ybi21CGI4r9Ql+b8NP38AiBFIpkCFqR6LxYfy3bEdIoAUefNNoyH+Ug4A86Z8L95Wg=="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser","_id":"express-user-couchdb@0.3.5","_shasum":"2ded2e3f0ac32a53565ec1a80aae994d0891c3be","_npmVersion":"1.4.9","_npmUser":{"name":"brentcobb","email":"brent.tm.cobb@gmail.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"},{"name":"brentcobb","email":"brent.tm.cobb@gmail.com"}]},"0.3.6":{"name":"express-user-couchdb","version":"0.3.6","description":"An express app module connected to couchdb _users table","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/twilson63/express-couchUser.git"},"keywords":["couchdb","express","module","_users","authentication"],"author":{"name":"Tom"},"license":"MIT","dependencies":{"express":"~3.2.6","nano":"~5.10.0","uuid":"~1.4.1","nodemailer":"~0.4.4","email-templates":"~2.1.0","underscore":"~1.5.1","only":"0.0.2"},"dist":{"shasum":"4bd9bf9b69d9116a2a9c5ddb3e6e3ae3b139850d","tarball":"https://registry.npmjs.org/express-user-couchdb/-/express-user-couchdb-0.3.6.tgz","integrity":"sha512-1/cknOgnW9eLzVvDl00L6kpR4yyRoHvuNDDPpvM01CJnIy8G+0MptFMNJdPyYPdxbxYmgd01lzVrvO7oJ93CZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuLeW8QW66imbO9rXkxZkarx0ez3vzIp1t1nHToD4FHAiEA+y8y95sqIA7lPIQedI4lnz+rr20p6uHU6AXZOGNS0ak="}]},"_resolved":"git://github.com/twilson63/express-couchUser.git#2ccd791c6c62a849ee19e88e8a1920e74130f35e","_from":".","gitHead":"a79356c886a52270c10aaffed86c3b35cdb5f6c2","directories":{"test":"test"},"devDependencies":{"expect.js":"~0.2.0","grunt":"~0.4.1","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.4.4","grunt-mocha-test":"^0.10.2","mocha":"~1.12.0","nock":"^0.28.3","request":"~2.22.0","supertest":"^0.11.0","grunt-mocha-istanbul":"~1.4.1"},"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"homepage":"https://github.com/twilson63/express-couchUser#readme","_id":"express-user-couchdb@0.3.6","_shasum":"4bd9bf9b69d9116a2a9c5ddb3e6e3ae3b139850d","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"twilson63","email":"tom@jackhq.com"},"maintainers":[{"name":"twilson63","email":"tom@jackhq.com"},{"name":"brentcobb","email":"brent.tm.cobb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-user-couchdb-0.3.6.tgz_1456976100287_0.8808915391564369"}}},"readme":"# express-user-couchdb - ExpressCouchDb Module\n\n[![Build Status](https://secure.travis-ci.org/twilson63/express-couchUser.png)](http://travis-ci.org/twilson63/express-couchUser)\n\nThis module is a authentication lib built on top of couch's user model.\n\n## requirements\n\n* couchdb\n* nodejs\n\n## init example\n\n``` js\nvar couchUser = require('express-user-couchdb');\nvar express = require('express');\nvar app = express();\n\n// Required for session storage\napp.use(express.cookieParser());\napp.use(express.session({ secret: 'Use something else here.'}));\n\n// The request_defaults node is required if you have turned the Admin Party off\n\napp.configure(function() {\n  app.use(couchUser({\n    users: 'http://localhost:5984/_users',\n    request_defaults: {\n      auth: {\n        user: 'couchAdminUserName',\n        pass: 'couchAdminPassword'\n      }\n    },\n    email: {\n      ...\n    },\n    adminRoles: [ 'admin' ],\n    validateUser: function(data, cb) {...}\n  }));\n});\n\n```\nThe optional adminRoles attribute allows you to specify one or more administrative roles that are allowed to add, update, and delete users.\n\nThe optional validateUser allows you to specify extra validation other than username/password. For example, checking for greater than x number of login attempts. The first argument data is an object that has request, user, and headers fields. The reason the callback pattern is used to pass out the result is that you can do async calls within this function (like check another database, etc).\n\nExample validateUser function.\n\n``` js\nvalidateUser: function(data, cb) {\n  var MAX_FAILED_LOGIN = 5;\n  var req = data.req;     //all the fields in data is captured from /api/user/signin callback function\n  var user = data.user;\n  var headers = data.headers;\n  var outData = {         // This object will be attached to the session \n    userInfo: \"userAge\"   // req.session.userInfo will be \"userAge\"\n  };\n\n  if(data.user.failedLogin > MAX_FAILED_LOGIN) {\n    //fails check\n    var errorPayload = {\n      statusCode: 403,                           //if not included will default to 401 \n      message: 'Exceeded fail login attempts',   //if not included will default to 'Invalid User Login'\n      error: 'Forbidden'                         //if not included will default 'unauthorized'\n    }\n    cb(errorPayload);\n  } else {\n    //passess check\n    cb(null, outData);\n  }\n}\n```\n\n## Initialize CouchDb\n\nBefore you can use this module, you need to run a setup process to add the required views to the couchDb Users table, there is an `init.js` file that does this for you.  You can include it in your Gruntfile as a task.\n\n``` js\ngrunt.registerTask('setup', 'setup database', function() {\n  var userSetup = require('./node_modules/express-user-couchdb/init');\n  userSetup('http://localhost:5984/_users', function(err) {\n    console.log(\"configured express-user-couchdb module\");\n  });\n});\n```\n\nor you can invoke via command line\n\n``` sh\nnode ./node_modules/express-user-couchdb/init http://localhost:5984/_users\n```\n\n## API Commands\n\n### POST /api/user/signup\n\nCreate a new user account.  If config.verify is set, the user will be sent an email with a link to verify their account.\nIf the user trying to login has enabled set to false, they will be notified to contact an admin to reactivate their account.\n\n``` json\n{\n  \"name\": \"user\",\n  \"password\": \"password\",\n  \"email\": \"user@email.com\",\n  \"data\": {}\n}\n```\n\n### POST /api/user/signin\n\nAllow a user to log in.  If config.verify is set, then the user is required to validate their email address before logging in.\n\n``` json\n{\n  \"name\": \"user\",\n  \"password\": \"password\"\n}\n```\n\n### POST /api/user/signout\n\n``` json\n{\n  \"name\": \"user\"\n}\n```\n\n### GET /api/user/current\n\nThe currently logged in user.  Returns a 401 error if the user is not currently logged in.\n\n\n### POST /api/user/forgot\n\nIf the user trying to retrieve their password has enabled set to false, they will be notified to contact an admin to reactivate their account.\n\n``` json\n{\n  \"email\": \"user@email.com\"\n}\n```\n\n### POST /api/user/verify:email\n\nSend an email to a user that includes a verification code and link to verify their account.\n\n``` json\n{\n  \"name\": \"email\"\n}\n```\n\n### POST /api/user/verify/:code\n\nConfirm that a user's email address is valid using a previously generated verification code.\n\n### POST /api/user/reset\n\nReset a user's password (requires the code generated using /api/user/forgot).\n\n``` json\n{\n  \"name\": \"user\",\n  \"code\": \"code\"\n}\n```\n\n### GET /api/user?roles=foo,bar\n\nReturn a list of users matching the specified roles.\n\n[{ user... }, { user2... }]\n\n### POST /api/user\n\nCreate a new user.  If config.adminRoles is set, the user making this call must have one of the specified roles.\n\n``` json\n{\n  \"name\": \"user1\",\n  \"type\": \"user\",\n  \"password\": \"foo\",\n  \"roles\": ['admin']\n}\n```\n\n### GET /api/user/:name\n\nReturns the user whose name matches :name.\n\n``` json\n{\n  \"_id\": \"org.couchdb.user:user1\",\n  \"_rev\": \"1-123456\",\n  \"name\": \"user1\",\n  \"type\": \"user\",\n  \"password\": \"foo\",\n  \"roles\": ['admin']\n}\n```\n\n### PUT /api/user/:name\n\nUpdates the user specified by :name.  If config.adminRoles is set, then a user must have an admin role to be able to update anyone else's record.  Non-admins cannot update their own role information.\n\n``` json\n{\n  \"_id\": \"org.couchdb.user:user1\",\n  \"_rev\": \"1-123456\",\n  \"name\": \"user1\",\n  \"type\": \"user\",\n  \"password\": \"foo\",\n  \"roles\": ['admin']\n}\n```\n\n### DELETE /api/user/:name\n\nRemoves the specified user.  If config.adminRoles is set, then a user must have an admin role to be able to delete a user.\n\n``` json\n{\n  \"_id\": \"org.couchdb.user:user1\",\n  \"_rev\": \"1-123456\",\n  \"name\": \"user1\",\n  \"type\": \"user\",\n  \"password\": \"foo\",\n  \"roles\": ['admin']\n}\n```\n\n## Usage\n\n``` js\nvar user = require('express-user-couchdb');\nvar config = { \n  users: 'http://localhost:5984/_users', \n  email ....\n};\napp.config(function() {\n  // handle other requests first\n  app.use(express.router);\n  // handle core requests\n  app.use(user(config));\n});\n```\n\n``` json\nnode init.js [couchdb users db]\n```\n\n## setting up email templates\n\nexpress-user-couchdb has the capability to attach to an smtp server and send emails for certain user events.  And you have the ability to manipulate the e-mail templates.  \n\nexpress-user-couchdb uses the nodemailer and email-templates modules to perform the email process, but you need to pass in the config settings in the config argument of the module:\n\nHere is an example of the config settings:\n\n``` js\n{\n  couch: 'http://localhost:5984/_users',\n  email: {\n    service: 'SMTP',\n    SMTP: {\n      ....\n    },\n    templateDir: ....\n  }\n}\n```\n\nto setup the forgot password email template you need to create a folder called `forgot` in the email template directory, then in that folder you need to create a style.css, html.ejs, and text.ejs.  These files will be used to build your email template.  Here is an example of the text.ejs\n\n### Forgot Password\n\n``` html\nFoo App\n#######\n\nWe are sorry you forgot your password, in order to reset your password,  we need you to click the link below.\n\nCopy Link:\n\nhttp://fooapp.com/account/reset?code=<%= user.code %>\n\nand paste into your browsers url.\n\nThank you for supporting our application, please let us know if you have any questions or concerns.\n\nThanks\n\nThe Team\n```\n\n### confirm e-mail\n\nIf you plan to enable the users to register, you may want to send a confirmation email to them when they sign up.\n\nYou would follow the same steps above, but instead of creating a forgot folder, you would need to create a confirm folder and place your css, html.ejs, and text.ejs files.\n\n## Contribution\n\nPull requests are welcome.\n\n## License\n\nMIT\n\n## Support\n\nPlease add issues to the github repo.\n\n## Thanks\n\n* CouchDb Team\n* NodeJS Team\n* NodeMailier\n* Nano Team\n* Email-Templates\n\n\n","maintainers":[{"email":"brent.tm.cobb@gmail.com","name":"brentcobb"},{"email":"tom@jackhq.com","name":"twilson63"}],"time":{"modified":"2022-06-17T22:44:06.448Z","created":"2013-06-14T12:00:52.250Z","0.0.1":"2013-06-14T12:00:53.358Z","0.0.2":"2013-06-14T12:04:38.636Z","0.0.3":"2013-06-15T18:47:57.121Z","0.0.4":"2013-07-01T11:55:26.550Z","0.0.5":"2013-07-19T12:51:39.834Z","0.0.6":"2013-07-29T19:31:35.435Z","0.0.7":"2013-07-29T19:41:46.879Z","0.0.9":"2013-08-06T02:32:19.177Z","0.0.10":"2013-08-06T03:00:06.646Z","0.0.11":"2013-08-11T14:18:40.499Z","0.0.12":"2013-08-26T14:45:06.214Z","0.0.13":"2013-09-22T19:55:53.092Z","0.0.14":"2013-09-22T20:51:00.831Z","0.0.15":"2013-09-22T21:18:47.282Z","0.1.0":"2014-02-19T13:58:30.377Z","0.2.0":"2014-03-21T14:56:36.183Z","0.2.1":"2014-04-02T10:36:31.964Z","0.2.3":"2014-04-02T13:55:24.243Z","0.2.5":"2014-05-05T19:05:45.992Z","0.2.6":"2014-05-22T18:27:18.110Z","0.2.7":"2014-06-10T15:17:33.268Z","0.2.8":"2014-06-12T15:39:36.818Z","0.2.9":"2014-06-19T23:24:16.372Z","0.3.0":"2014-06-20T16:35:03.519Z","0.3.1":"2014-07-02T16:04:08.071Z","0.3.2":"2014-07-10T15:14:34.750Z","0.3.3":"2014-07-23T03:34:47.519Z","0.3.4":"2014-09-25T13:56:14.370Z","0.3.5":"2015-01-05T21:16:52.164Z","0.3.6":"2016-03-03T03:35:02.851Z"},"author":{"name":"Tom"},"repository":{"type":"git","url":"git+https://github.com/twilson63/express-couchUser.git"},"readmeFilename":"readme.md","homepage":"https://github.com/twilson63/express-couchUser#readme","keywords":["couchdb","express","module","_users","authentication"],"bugs":{"url":"https://github.com/twilson63/express-couchUser/issues"},"license":"MIT","users":{"codebruder":true}}