1.0.0 • Published 7 years ago
docsify-agent v1.0.0
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
1.0.0
7 years ago