Files
fibonacci-fold/server/node_modules/uid2/README.md
Christian Medina d0e8d36c33
Some checks failed
Deploy to Firebase Hosting on merge / build_and_deploy (push) Has been cancelled
latest changes before server transfer
2025-08-05 15:42:36 -04:00

33 lines
432 B
Markdown

# uid2
[![NPM version](https://badge.fury.io/js/uid2.svg)](http://badge.fury.io/js/uid2)
Generate unique ids. Pass in a `length` and it returns a `string`.
## Installation
npm install uid2
## Examples
Without a callback it is synchronous:
```js
uid(10)
// => "hbswt489ts"
```
With a callback it is asynchronous:
```js
uid(10, function (err, id) {
if (err) throw err;
// id => "hbswt489ts"
});
```
## License
MIT