node package manager

popsicle-prefix

Popsicle Prefix

NPM version NPM downloads Build status Test coverage

Prefix all Popsicle HTTP requests.

Installation

npm install popsicle-prefix --save

Usage

var request = require('popsicle')
var prefix = require('popsicle-prefix')
 
request('/users.json')
  .use(prefix('http://example.com'))

License

MIT