0.0.4 • Published 10 years ago

splice-auth v0.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
10 years ago

splice-auth

Splice some basic auth into a url string or url parsed object. Returns you what you give it.

install

npm install splice-auth --save

Example

var spliceAuth = require('splice-auth');

var url = 'http://localhost:5984/whatever';
var auth = 'what:dude';

var url = spliceAuth(url, auth);

console.log(url)

//
// Outputs:
// http://what:dude@localhost:5984/whatever
//
0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago