# whistle.uiauth

> 设置 Whistle 管理界面的用户名和密码的插件

Latest version **1.0.0** (published 2023-05-03) · 0 weekly downloads

## Install

```sh
npm install whistle.uiauth
pnpm add whistle.uiauth
yarn add whistle.uiauth
bun add whistle.uiauth
```

## 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-05-03 |
| First published | 2023-05-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | avwu |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2023-05-03

## README

# whistle.uiauth
通过插件给 Whistle 的所有界面添加账号和密码

# 安装
``` sh
w2 i whistle.uiauth
```

# 使用
安装后需要用户输入账号和密码，默认为：
1. 账号：`test`
2. 密码：`123`

可以通过新建文件 `~/.whistle.uiauth.txt` 修改密码，如在改文件输入：
> `~` 对应 Node 中通过 `os.homedir()` 获取的路径
``` txt
admin:123456
```
将账号和密码分别修改为 `admin`、`123456`

也可以参考该插件的实现，从远程直接获取账号和密码等其它交互方式。

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