# password-management

> 它是一个命令行里的密码管理工具，安装后需要执行``` pass init ```初始化密钥，存储的所有密码都会依赖这个密码进行AES加密。 ## 安装 ``` npm install -g password-management ``` ## 更新安装包 ``` npm update -g password-management ``` ## 查看帮助 ```shell # 命令行执行查看命令帮助 pass | pass -h

Latest version **1.0.7** (published 2022-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install password-management
pnpm add password-management
yarn add password-management
bun add password-management
```

Provides the command `pass`.

## 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.7 |
| Published | 2022-09-04 |
| First published | 2022-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | alison.zheng |
| Maintainers | _developerrrrrrrr |
| Keywords | node, password management, password system |

## Links

- npm: https://www.npmjs.com/package/password-management
- Repository: https://github.com/yoodz/password-management
- Issues: https://github.com/yoodz/password-management/issues
- npm.io page: https://npm.io/package/password-management

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [moment](https://npm.io/package/moment.md) ^2.29.4
- [commander](https://npm.io/package/commander.md) ^9.4.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2022-09-04
- 1.0.6 — 2022-09-04
- 1.0.5 — 2022-09-04
- 1.0.4 — 2022-08-28
- 1.0.3 — 2022-08-28
- 1.0.2 — 2022-08-28
- 1.0.1 — 2022-08-28
- 1.0.0 — 2022-08-28

## README

# 命令行密码管理器
它是一个命令行里的密码管理工具，安装后需要执行``` pass init ```初始化密钥，存储的所有密码都会依赖这个密码进行AES加密。
## 安装
```
npm install -g password-management
```
## 更新安装包
```
npm update -g password-management
```
## 查看帮助
```shell
# 命令行执行查看命令帮助
pass | pass -h

Usage: index [options] [command]

Options:
  -h, --help        display help for command

Commands:
  add [options]     save username and password
  update [options]  update password by username
  get [options]     get password by name or username
  remove [options]  remove password by name or username
  removeAll         remove all password records, dangerous！！！
  init              init command
  help [command]    display help for command
```
## 初始化密钥
```
pass init
```
## 新增密码
```
pass add -nbaidumail -uroot -proot
```
## 查看密码(模糊查找)
```
# 根据名称查找
pass get -nbaidu
# 根据用户名查找
pass get -ubaidu
# 同时从名称和用户名查找
pass get baidu
```
## 更新密码
```
pass update -nbaidumail -uroot -proot
```
## 删除密码
```
pass remove -nroot -uroot
```
## 清空密码
```
pass removeAll
```

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