1.1.0 • Published 8 years ago

extension-cord v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

#Extension Cord

##Overview Extension cord is an Express middleware step for proxying requests for static files to another location.

##Usage var express = require('express'); var app = express();

app.use(require('extension-cord')({ "target": { "protocol" : "http", "hostname" : "localhost", "port": "8000" }, "regex": "jpeg|gif|png|jpg|js|css|ico|woff|svg|ttf|json|map" }));

CHANGELOG

###1.0 Initial release with basic functionality.

###1.1 Added all the events that are supported: onOpen, onClose, onError, onProxyReq, onProxyRes.

1.1.0

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago