# nssb123

> 2209 class

Latest version **1.0.0** (published 2023-01-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install nssb123
pnpm add nssb123
yarn add nssb123
bun add nssb123
```

## 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.0 |
| Published | 2023-01-13 |
| First published | 2023-01-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | nssb123 |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2023-01-13

## README

# 验证码小物件下载
```
npm i nssb123-svg-captcha -S
```

# 验证小物件使用
 ``
const captcha = require('nssb123-svg-captcha')
let temp = captcha.create()
console.log(temp) // {text:'D3DS', data: '<svg></svg>'}

# 验证码小物件-结合HTTP模块
```
const http = require('http')
const captcha = require('nssb123-svg-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/nssb123 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
