1.0.4 • Published 3 years ago

xiantou-captcha v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

下载

npm i xiantou_cvg-captcha -S

使用

const captcha = require('xiantou-captcha')
    const http = require('http')
    http.createServer((req,res)=>{
        res.setHeader('content-type','text/html;charest=utf-8')
        let c = captcha.captcha(x,y,fill)
        res.end(c.data)
    }).listen(3000,console.log(
        'web服务器启用成功','http://localhost:3000'
))
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago