dxw-captcha
v1.0.1
Published
``` npm i dxw-captcha -S ``` #使用 ``` const http =require("http") const ptcha=require("dxw-captcha") http.createServer((req,res)=>{ let captcha=ptcha.create() res.setHeader("content-type","text/html;charset=utf-8") res.end(captcha.dat
Downloads
6
Readme
#下载
npm i dxw-captcha -S#使用
const http =require("http")
const ptcha=require("dxw-captcha")
http.createServer((req,res)=>{
let captcha=ptcha.create()
res.setHeader("content-type","text/html;charset=utf-8")
res.end(captcha.data)
})
.listen(3000,()=>{
console.log(('启动成功,访问测试 http:/localhost:3000'));
})