# user-manager

> Simple user manager for the people.

Latest version **1.28.0** (published 2025-06-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install user-manager
pnpm add user-manager
yarn add user-manager
bun add user-manager
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.28.0 |
| Published | 2025-06-24 |
| First published | 2017-03-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.0.0 |
| Dependencies | 1 |
| Unpacked size | 35.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | fantasyui.com |
| Maintainers | fantasyui.com |

## Links

- npm: https://www.npmjs.com/package/user-manager
- Repository: https://github.com/fantasyui-com/user-manager
- Homepage: https://github.com/fantasyui-com/user-manager#readme
- Issues: https://github.com/fantasyui-com/user-manager/issues
- npm.io page: https://npm.io/package/user-manager

## Dependencies (1)

- [multiprocess-store](https://npm.io/package/multiprocess-store.md) ^1.10.0

## Recent versions

- 1.28.0 (latest) — 2025-06-24
- 1.27.0 — 2025-05-17
- 1.26.0 — 2024-08-21
- 1.25.0 — 2024-01-04
- 1.24.0 — 2023-09-08
- 1.23.0 — 2023-07-25
- 1.22.0 — 2023-06-05
- 1.21.0 — 2023-02-27
- 1.20.0 — 2022-12-14
- 1.19.0 — 2022-08-12
- 1.18.0 — 2022-07-22
- 1.17.0 — 2022-07-17
- 1.16.0 — 2022-06-24
- 1.15.0 — 2022-06-06
- 1.14.0 — 2022-04-18
- … 15 more at https://npm.io/package/user-manager/versions

## README

# user-manager
Simple user manager for the people.


## Creating the data store

```JavaScript

const userManager = new UserManager({storeLocation: '~/Tests/user-manager-store/',});

```

## Adding Alice
```JavaScript

await userManager.userAdd('alice', {password:'hunter2', notes:[`${new Date()}: Account Creation`]});

```

## Adding (Upserting) a Note to Alice's Account
```JavaScript

let alice = await userManager.userGet('alice');
alice.notes.push(`${new Date()}: Customer called tech-support on Christmas Day, said "Cats are little people" and hung up.`);
await userManager.userSet(alice);

```

## Account Modification, Adding a Field.
```JavaScript

await userManager.userMod('alice', {email:'alice@example.com'});

```

## LICENSE

GPLv3

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