1.0.6 • Published 9 years ago

sidproxy v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

sidproxy

Build Status

Simple Development Proxy and Http console

Getting Started

1. Installation

npm install sidproxy

2. Examples

// As Connect Middleware
var middleware = function (connect) {
    return [
        require('sidproxy')(true)
            .resolveProxy([
                {
                    name: 'Server 1',
                    path: 'client/api/path/server1/',
                    host: 'http://server1/'
                },
                {
                    name: 'Server 2',
                    path: 'client/api/path/server2/',
                    host: 'http://server2/'
                }
            ]),
        connect.static(require('path').resolve('.'))
    ];
}
1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago