docsify-agent
v1.0.0
Published
将docsify的自带服务器映射到域名的某个接口中
Readme
how to use
$ npm install docsify-agentvar express = require('express')
var app = express()
var DocsifyAgent = require('../index').SuperAgent(app)
var docsAgent = new DocsifyAgent('/docs','http://localhost:3000',0)API
new DocsifyAgent( path : string , agentUrl : string , isPipe : number )
isPipe
0 :普通请求,不使用pipe 1 :图片请求,使用pipe
