uuid-extra

    1.0.7 • Public • Published

    uuid-extra

    Build Status

    Uniqueness and Randomness combined

    Using UUID library, combining Uniqueness(uuidv1) and Randomness(uuidv4), trying to get randomly unique solution to generate universally unique identifier.

    Install

    NPM

    npm install uuid-extra

    how to use

    ex14()

    First extra function which combines the uuidv1 and uuidv4 output and uses Math.random for selecting bits and generates

    const uuidex = require('uuid-extra');
    
    console.log(`EX14: ${uuidex.ex14()}`);

    v1()

    Original uuidv1 function

    const uuidex = require('uuid-extra');
    
    console.log(`V1: ${uuidex.v1()}`);

    v4()

    Original uuidv4 function

    const uuidex = require('uuid-extra');
    
    console.log(`V4: ${uuidex.v4()}`);

    Note: All the credits goes to original UUID [Github, NPM] for such useful module.

    Install

    npm i uuid-extra

    DownloadsWeekly Downloads

    4

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    3.95 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar