node package manager

popsicle-resolve

Popsicle Resolve

NPM version NPM downloads Build status Test coverage

Resolve Popsicle HTTP request URLs against a prefix.

Installation

npm install popsicle-resolve --save

Usage

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

TypeScript

This project includes a TypeScript definition.

License

MIT