Nerdiest Precious Modules

    transid

    1.0.1 • Public • Published

    Project Title

    For generating Strong Unique Transaction Id Globally

    About

    To generate strong 36(without prefix) Character UniqueId Globally. With prefix the length will be > 36.

    Quickstart

    1. Install

    npm install transid

    2. Create a transid (ES6 module syntax)

    import { transid } from 'transid';
    transid(); // ⇨ '2613u-159b147-u124n-219473-26q22s45p'

    ... or using CommonJS syntax:

    const { transid } = require('transid');
    transid(); // ⇨ '58qon-155s129-u163n-275635-37v32b14z'

    3. Create a transid with prefix (ES6 module syntax)

    import { transid } from 'transid';
    transid('Prefix'); // ⇨ 'Prefix-453bo-152x156-u162x-212060-33o19t19e'

    ... or using CommonJS syntax:

    const { transid } = require('transid');
    transid('Prefix'); // ⇨ 'Prefix-61k3d-150b155-u133v-247687-50g27p45t'

    Install

    npm i transid

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    3.16 kB

    Total Files

    3

    Last publish

    Collaborators

    • murugansv