1.0.1 • Published 9 years ago

scrat-combo v1.0.1

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

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