Numbers Prefer Multiplication

    uuid-int
    TypeScript icon, indicating that this package has built-in type declarations

    3.1.0 • Public • Published

    NPM version David deps Known Vulnerabilities npm download

    uuid-int

    inspired by snowflake.
    uuid-int for nodejs .

    中文

    Quick Start

    Install

    npm install --save uuid-int
    

    Use

    const UUID = require('uuid-int');
    
    // number  0 <= id <=511
    const id = 0;
    
    const generator = UUID(id);
    
    const uuid = generator.uuid();
    console.log(uuid); // 3270411116609537
    

    Install

    npm i uuid-int

    DownloadsWeekly Downloads

    434

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    5.26 kB

    Total Files

    6

    Last publish

    Collaborators

    • wbget