# webopenlq-captcha

> ``` npm i webopenlq-captcha -S ```

Latest version **1.0.8** (published 2022-06-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install webopenlq-captcha
pnpm add webopenlq-captcha
yarn add webopenlq-captcha
bun add webopenlq-captcha
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2022-06-15 |
| First published | 2022-06-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | webopenlq |

## Links

- npm: https://www.npmjs.com/package/webopenlq-captcha
- npm.io page: https://npm.io/package/webopenlq-captcha

## Recent versions

- 1.0.8 (latest) — 2022-06-15
- 1.0.7 — 2022-06-14

## README

# 🚀 验证码-下载

```
npm i webopenlq-captcha -S
```

# 🚀 验证码-使用

```
const captcha = require('webopenlq-captcha')
let temp = captcha.create()
console.log(temp) // {text:'D3DS', data: '<svg></svg>'}
```

# 🚀 验证码-结合 http 模块

```
const http = require('http')
const captcha = require('webopenlq-captcha')

http.createServer((req, res) => {
    res.setHeader('content-type', 'text/html;charset=utf-8')
    let temp = captcha.create()
    // console.log(temp) // {text:'D3DS', data: '<svg></svg>'}
    res.end(temp.data)
}).listen(3000, () => {
    console.log('启动成功， 访问  http://localhost:3000');
})

```

---
_Source: https://npm.io/package/webopenlq-captcha · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
