node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

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