# @blackglory/uid-js

> ```sh npm install --save @blackglory/uid-js # or yarn add @blackglory/uid-js ```

Latest version **0.7.2** (published 2024-02-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @blackglory/uid-js
pnpm add @blackglory/uid-js
yarn add @blackglory/uid-js
bun add @blackglory/uid-js
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.2 |
| Published | 2024-02-15 |
| First published | 2020-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16 |
| Dependencies | 6 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | BlackGlory |
| Maintainers | black_glory |

## Links

- npm: https://www.npmjs.com/package/@blackglory/uid-js
- Repository: https://github.com/BlackGlory/uid-js
- Homepage: https://github.com/BlackGlory/uid-js#readme
- Issues: https://github.com/BlackGlory/uid-js/issues
- npm.io page: https://npm.io/package/@blackglory/uid-js

## Dependencies (6)

- [justypes](https://npm.io/package/justypes.md) ^4.1.0
- [extra-abort](https://npm.io/package/extra-abort.md) ^0.3.1
- [extra-fetch](https://npm.io/package/extra-fetch.md) ^4.0.4
- [extra-request](https://npm.io/package/extra-request.md) ^8.1.6
- [extra-response](https://npm.io/package/extra-response.md) ^0.5.1
- [@blackglory/http-status](https://npm.io/package/@blackglory/http-status.md) ^2.0.1

## Recent versions

- 0.7.2 (latest) — 2024-02-15
- 0.7.1 — 2023-06-11
- 0.7.0 — 2023-02-05
- 0.6.1 — 2023-01-30
- 0.6.0 — 2023-01-29
- 0.5.0 — 2022-12-02
- 0.4.2 — 2022-10-31
- 0.4.1 — 2022-10-23
- 0.4.0 — 2022-10-21
- 0.3.4 — 2022-09-30
- 0.3.3 — 2022-09-30
- 0.3.2 — 2022-08-01
- 0.3.1 — 2022-02-05
- 0.3.0 — 2022-01-17
- 0.2.1 — 2021-12-17
- … 31 more at https://npm.io/package/@blackglory/uid-js/versions

## README

# uid-js
## Install
```sh
npm install --save @blackglory/uid-js
# or
yarn add @blackglory/uid-js
```

## API
### UIDClient
```ts
interface IUIDClientOptions {
  server: string
  basicAuth?: {
    username: string
    password: string
  }
  keepalive?: boolean
  timeout?: number
}

interface IUIDClientRequestOptions {
  signal?: AbortSignal
  keepalive?: boolean
  timeout?: number | false
}

class UIDClient {
  constructor(options: IUIDClientOptions)

  generateNanoID(options: IUIDClientRequestOptions = {}): Promise<string>
  generateUUID(options: IUIDClientRequestOptions = {}): Promise<string>
}
```

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