Nonstop Pajama Models

    @donutteam/number-utilities

    1.1.0 • Public • Published

    Number Utilities

    A collection of various number-related utility functions.

    Installation

    Install the package with NPM:

    npm install @donutteam/number-utilities
    

    Usage

    randomInt

    This function generates a random interger between the minimum (inclusive) and the maximum (exclusive) values given to it:

    import { randomInt } from "@donutteam/number-utilities";
    
    // Will be some number from 0 to 9
    const myRandomInteger = randomInt(0, 10);

    License

    MIT

    Install

    npm i @donutteam/number-utilities

    DownloadsWeekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    3.63 kB

    Total Files

    5

    Last publish

    Collaborators

    • duckdotexe