scrat-combo
v1.0.1
Published
Scrat combo request server-side middleware
Downloads
6
Readme
scrat-combo
Scrat combo request server-side middleware
Install
npm install scrat-combo
Usage
var scratCombo = require('scrat-combo')
app.get('/co', scratCombo({
name: 'demo', // Project name
version: '1.0.0', // Project version
dir: 'test/public', // Public directory, default is "public"
dest: 'c' // urlPattern prefix in "fis-config.js", default is "c"
}))
Test
Step 1: Run test server
npm test
Step 2: Request combo resource
http://localhost:1010/co??demo/1.0.0/index/index.css,demo/1.0.0/index/index.js