Serve SPM
Middleware for spm debug, support connect, express and koa.
Usage
with express:
var serveSPM = ;;
with koa:
var serveSPM = koa;;
Options
log
Enable log for requests, default false
.
paths
Map pathname for debug. e.g. paths: [['/a/b/c/', '']]
cache
Enable 304 cache.
base
Set seajs's base.
LICENSE
Copyright (c) 2014 sorrycc. Licensed under the MIT license.