fw-combo

0.0.3 • Public • Published

Installation

Install using npm:

$ npm install fw-combo

Usage

var express = require('express'),
    app = express(),
    statichandler = require('fw-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: '~'
}));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    0

Package Sidebar

Install

npm i fw-combo

Weekly Downloads

1

Version

0.0.3

License

BSD

Last publish

Collaborators

  • wdy0504