apiproxy

0.1.3 • Public • Published

npm version Build Status Total downloads

apiproxy

Express.js middleware to easily proxy REST API requests.

Usage

const express = require('express');
const app = express();
// proxying of api requests
const makeProxy = require('apiproxy');
app.all('/api/*', makeProxy({ port: 3000, serverPort: 8000 }));

Readme

Keywords

none

Package Sidebar

Install

npm i apiproxy

Weekly Downloads

0

Version

0.1.3

License

ISC

Last publish

Collaborators

  • sergeyt