3.0.0 • Published 3 years ago
zhouhaonancaptcha v3.0.0
下载
npm i zhouhaonancaptcha -S
使用
const captcha = require('zhouhaonancaptcha') let temp=captcha.create()
集合http使用
const http=require('http) const captcha = require('zhouhaonancaptcha') http.createServer((req,res)=>{ res.setRequestHeader('content-type','text/html;charset=utf-8') let temp=captcha.create() res.end(temp) }).listen(3000,()=>{ console.log('http://localhost:3000') })