Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasriyasoftware/uuidx
A lightweight package to generate v5 UUID on the go.
https://github.com/nasriyasoftware/uuidx
uuid-generator uuid-v4 uuid4 uuid5 uuidv4 uuidv5
Last synced: about 1 month ago
JSON representation
A lightweight package to generate v5 UUID on the go.
- Host: GitHub
- URL: https://github.com/nasriyasoftware/uuidx
- Owner: nasriyasoftware
- License: other
- Created: 2024-04-18T09:56:34.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T18:50:04.000Z (4 months ago)
- Last Synced: 2024-11-03T02:37:24.141Z (about 2 months ago)
- Topics: uuid-generator, uuid-v4, uuid4, uuid5, uuidv4, uuidv5
- Language: TypeScript
- Homepage: https://nasriya.net
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[![N|Solid](https://static.wixstatic.com/media/72ffe6_da8d2142d49c42b29c96ba80c8a91a6c~mv2.png)](https://nasriya.net)
# UUIDX.
[![Static Badge](https://img.shields.io/badge/license-Free_(Restricted)-blue)](https://github.com/nasriyasoftware/UUIDX?tab=License-1-ov-file) ![Repository Size](https://img.shields.io/github/repo-size/nasriyasoftware/UUIDX.svg) ![Last Commit](https://img.shields.io/github/last-commit/nasriyasoftware/UUIDX.svg) [![Status](https://img.shields.io/badge/Status-Stable-green.svg)](link-to-your-status-page)
##### Visit us at [www.nasriya.net](https://nasriya.net).A lightweight package to generate UUIDs on the go.
Made with ❤️ in **Palestine** 🇵🇸
> [!IMPORTANT]
> 🌟 **Support Our Open-Source Development!** 🌟
> We need your support to keep our projects going! If you find our > work valuable, please consider contributing. Your support helps us > continue to develop and maintain these tools.
>
> **[Click here to support us!](https://fund.nasriya.net/)**
>
> Every contribution, big or small, makes a difference. Thank you for > your generosity and support!
___Generating UUID is never easier.
### Installation
```shell
npm i @nasriya/uuidx
```### Importing
Import in **ES6** modules
```ts
import uuidx from '@nasriya/uuidx';
```
Import in **CommonJS (CJS)**
```js
const uuidx = require('@nasriya/uuidx').default;
```
### UsageTo generate a UUIDs, call the method of the needed version whenever you need it:
```ts
const idv4 = uuidX.v4();
const idv5 = uuidX.v5('nasriya.net', uuidX.v4());console.log(idv4); // ⇨ 'e2e05f173-8646e-47fff-9d21f-735250ce1e28'
console.log(idv5); // ⇨ 'b79020af-20af-5020afabee-8020afabee433-433465'
```
Thank you!
___
## License
Please read the license from [here](https://github.com/nasriyasoftware/UUIDX?tab=License-1-ov-file).