0.0.2 • Published 8 years ago

fangwell-combo v0.0.2

Weekly downloads
-
License
BSD
Repository
-
Last release
8 years ago

Installation

Install using npm:

$ npm install fangwell-combo

Usage

var express = require('express'),
    app = express(),
    statichandler = require('express-combo');

statichandler.userCache = true;

app.get('/static', statichandler.folder('public', 'full/path/to/folder/'));

app.get('/static', statichandler.map('protected', {
    'something/foo.js": "full/path/to/something/foo.js',
    'bar.js": "full/path/to/something/bar.js'
}));

app.get('/static', statichandler.combine({
    comboBase: '/combo~',
    comboSep: '~'
}));
0.0.2

8 years ago

0.0.1

8 years ago