Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    randumbpublic

    node-randumb

    generate a random alphanumeric ASCII character string

    install

    npm install randumb

    quickstart

    var randumb = require('randumb');
     
    console.log(randumb());
    // LrdLhi8B70
     
    console.log(randumb(5));
    // 50f4q
     
    console.log(randumb(10, false));
    // R1jc8PKc3l

    parameters

    randumb(charLen, startWithNumber)

    1. charLen: character length (default is 10)
    2. startWithNumber: can the String start with a number? (default is true)

    Keywords

    none

    install

    npm i randumb

    Downloadsweekly downloads

    4

    version

    0.0.2

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar