svg-captcha-jqgao
v1.0.4
Published
随机验证码
Downloads
2
Readme
随机验证码
下载
cnpm i svg-captcha-jqgao -S
导入
const http = require('http')
const captcha = require('svg-captcha-jqgao')
使用
http.createServer((req,res)=>{
res.setHeader('content-type','text/html;charset=utf-8')
let temp = captcha.creat()
res.end(temp.data)
}).listen(3000,()=>{
console.log('启动成功 http://localhost:3000')
})