Resolve Popsicle HTTP request URLs against a prefix.
npm install popsicle-resolve --save
var popsicle = require('popsicle')var resolve = require('popsicle-resolve') popsicle.request('/users.json') .use(resolve('http://example.com')) //=> http://example.com/users.json
This project includes a TypeScript definition.
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more