baoyipeng
v1.0.1
Published
仿写验证码模块
Readme
下载
npm i baoyipeng -S
使用
const captcha = require("baoyipeng")
// 导入 const http = require('http');
// 创建前端服务器 const app =http.createServer((req,res)=>{
res.setHeader('content-type',"text/html;charset=utf-8");
res.end(captcha.suiJiMa());})
app.listen(3000,()=>{ console.log("http://localhost:3000"); })
