# node-uid

> generate a unique id using the current date

Latest version **0.1.3** (published 2017-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-uid
pnpm add node-uid
yarn add node-uid
bun add node-uid
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-12-01 |
| First published | 2016-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jesus Cereceres |
| Maintainers | cereceres |
| Keywords | id, unique, date, node |

## Links

- npm: https://www.npmjs.com/package/node-uid
- Repository: https://github.com/Cereceres/node-uid
- Homepage: https://github.com/Cereceres/node-uid#readme
- Issues: https://github.com/Cereceres/node-uid/issues
- npm.io page: https://npm.io/package/node-uid

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2017-12-01
- 0.1.2 — 2017-12-01
- 0.0.2 — 2016-11-16
- 0.0.1 — 2016-11-16

## README

# node-uid
generate unique id
## Install

```bash
$ npm install node-uid
```
## Test

```js
let node_uid = require('node-uid')
node_uid() // -> 27j7nc6s2724k8297814l1c2d4dc2
node_uid(15) // -> 52fd63t7kp202g
```
## API

node-uid is a function that receive a param that is the length of id generated, the module was tested with 10^12 id generated consecutively and the id was unique.

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