3 Generic basic auth Authorization header field parser for whatever.
8 $ npm install basic-auth
13 Pass a node request or koa Context object to the module exported. If
14 parsing fails `undefined` is returned, otherwise an object with
18 var auth = require('basic-auth');
20 // => { name: 'something', pass: 'whatever' }