UNPKG

@prishelets/utils

Version:

A modern utility library for strings, numbers, and general data types — fully typed, tested, and built for Node.js and TypeScript.

7 lines (6 loc) 215 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.randomInRange = randomInRange; function randomInRange(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; }