Skip to content

scrat-team/scrat-combo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scrat combo request server-side middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published