Authing against a DB
Sets up user authentication in a database in a pretty safe way. Now with bcrypt!
I'm thinking usage along these lines:
// db must provide get, set, and del methodsvar db = require'./db'var autheremin = require'autheremin'dbvar username = 'antigone'var password = '7xqJ3b8n'autheremincreateusername passwordif err throw err// username/password combination was created successfullyauthereminverifyusername passwordif err throw err// username/password combination was verified against the databaseautheremindeleteusernameiferr throw err// record with that username deleted from the database