在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:spmjs/serve-spm开源软件地址:https://github.com/spmjs/serve-spm开源编程语言:JavaScript 99.5%开源软件介绍:Serve SPMMiddleware for spm debug, support connect, express and koa. Usagewith express: var serveSPM = require('serve-spm');
require('express')().use(serveSPM(pkgRoot, {
log: true
})); with koa: var serveSPM = require('serve-spm').koa;
require('koa')().use(serveSPM(pkgRoot, {
log: true
})); OptionslogEnable log for requests, default pathsMap pathname for debug. e.g. cacheEnable 304 cache. baseSet seajs's base. LICENSECopyright (c) 2014 sorrycc. Licensed under the MIT license. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论