# code-ni-captcha

> 这是你father写的验证码模块

Latest version **1.0.3** (published 2022-01-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install code-ni-captcha
pnpm add code-ni-captcha
yarn add code-ni-captcha
bun add code-ni-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.3 |
| Published | 2022-01-18 |
| First published | 2022-01-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | code-ni |
| Maintainers | long-ni |
| Keywords | captcha |

## Links

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

## Dependencies (1)

- [code-ni-captcha](https://npm.io/package/code-ni-captcha.md) ^1.0.3

## Recent versions

- 1.0.3 (latest) — 2022-01-18
- 1.0.2 — 2022-01-17
- 1.0.1 — 2022-01-17

## README

#  👇下载

```
npm i code-ni-captcha -S
```

# 👩使用

```
const captcha = require('code-ni-captcha')
let temp = captcha.create()
console.log(temp) 

```

# 📣📢🔔结合HTTP模块使用

```
const http = require('http')
const captcha = require('code-ni-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/code-ni-captcha · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
