import auth = require('basic-auth'); auth(null); auth.parse('Basic QmFzaWM6QXV0aA==');