http-basic-auth

0.1.0 • Public • Published

Node.JS HTTP client with basic access authentication support

This little library provides a support for basic access authentication for Node.JS http client.

Installation

npm install http-basic-auth

Usage

var http = require('http-basic-auth');
var client = http.createClient(port, host, secure, credentials, {
    username: 'myname',
    password: 'verysecret'
});

port, host, secure and credentials are same as in the default Node.JS HTTP client.

Contributing

  1. Email me

Readme

Keywords

none

Package Sidebar

Install

npm i http-basic-auth

Weekly Downloads

4

Version

0.1.0

License

none

Last publish

Collaborators

  • tomas.heran