randomlibiz

1.0.0 • Public • Published

randomlibiz

Lib for getting random letters & digits in an array.

Install:

npm i randomlibiz

Consume:

  • import the lib:
    import mathkit from 'randomlibiz';

    let temp_pool = [11,12,13,14,15,16,17,18];
    let index = mathkit.get_random_number_index(temp_pool.length);
    console.log(temp_pool[index]);
    import alphabetkit from 'randomlibiz';

    let to_upper_case = true;
    let letter_array = alphabetkit.get_letter_list(to_upper_case);//[A,B,...Z]
    let letter_array_random = alphabetkit.get_letter_list_random(to_upper_case);//eg. [X,G,...Z]

Readme

Keywords

Package Sidebar

Install

npm i randomlibiz

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.39 kB

Total Files

3

Last publish

Collaborators

  • bizbetter