Negligible Psychological Misery

    minmax

    0.1.0 • Public • Published

    node-minmaxbuild status

    Calculate the minimum, maximum value and more.

    Example

        var mm = minmax();
        mm(0);
        mm(-4712);
        assert.strictEqual(mm.max, 0);
        assert.strictEqual(mm.min, -4712);
        assert.strictEqual(mm.diff, 4712);
        assert.strictEqual(mm.mean, -2356);

    Keywords

    none

    Install

    npm i minmax

    DownloadsWeekly Downloads

    9

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • kesla