🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

@nasriya/uuidx

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nasriya/uuidx

A lightweight package to generate UUIDs on the go.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
0
Created
Source

N|Solid

UUIDX.

Static Badge Repository Size Last Commit Status

Visit us at www.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!

Every contribution, big or small, makes a difference. Thank you for > your generosity and support!

Generating UUID is never easier.

Installation

npm i @nasriya/uuidx

Importing

Import in ES6 modules

import uuidx from '@nasriya/uuidx';

Import in CommonJS (CJS)

const uuidx = require('@nasriya/uuidx').default;

Usage

To generate a UUIDs, call the method of the needed version whenever you need it:

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.

Keywords

uuid-generator

FAQs

Package last updated on 17 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts