# webopenyeye-svg-captcha

> svg-captcha

Latest version **2.0.0** (published 2022-02-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install webopenyeye-svg-captcha
pnpm add webopenyeye-svg-captcha
yarn add webopenyeye-svg-captcha
bun add webopenyeye-svg-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 | 2.0.0 |
| Published | 2022-02-22 |
| First published | 2022-02-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | webopenyeye |
| Maintainers | webopenyeye |
| Keywords | webopenyeye-svg-captcha, svg-captcha, captcha |

## Links

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

## Recent versions

- 2.0.0 (latest) — 2022-02-22
- 1.0.4 — 2022-02-21
- 1.0.2 — 2022-02-21
- 1.0.1 — 2022-02-21
- 1.0.0 — 2022-02-21

## README

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

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