UNPKG

foxts

Version:

Opinionated collection of common TypeScript utils by @SukkaW

2 lines (1 loc) 178 B
function e(e){return(t,o)=>Math.floor(e()*(o-t+1))+t}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(Math.random);exports.createRandomInt=e,exports.randomInt=t;