node package manager

popsicle-basic-auth

Popsicle Basic Auth

NPM version NPM downloads Build status Test coverage

Add basic authentication to requests.

Installation

npm install popsicle-basic-auth --save

Usage

var request = require('popsicle')
var auth = require('popsicle-basic-auth')
 
request('/users.json')
  .use(auth('blakeembrey', 'hunter2'))

License

MIT