Needlessly Provoking Marsupials
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    request-proxypublic

    request-proxy

    A version of request that's local to a fixed base uri

    Example

    var RequestProxy = require("request-proxy")
     
    var request = RequestProxy({
      host: "localhost",
      port: 8080
    })
     
    // requesting to http://localhost:8080/foo 
    request("/foo", function (err, res, body) {
      /* do stuff */
    })

    Installation

    npm install request-proxy

    Contributors

    • Raynos
    • pluma

    MIT Licenced

    Keywords

    none

    install

    npm i request-proxy

    Downloadsweekly downloads

    13

    version

    0.2.4

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar