1.0.8 • Published 2 years ago
myorange_svg-captcha v1.0.8
下载
npm i myorange_svg-captcha -S
使用
const http = require('http') const captcha = require('myorange_svg-captcha') const app = http.createserver((req,res)=>{ let temp = captcha.create() res.setHeader('content-type', 'text/html;charset=utf-8') res.end(temp.data)
}) app.listen(3000,()=>{ console.log('启动成功,http://localhost:3000') })