random.ts
Get a random for Nodejs and browser by TypeScript
Usage
// ES6// Nodevar Random = // get random number of given range// this is equal with getNum(100, 2)Random // if param is not number type always return 0Random // if param out of safe range always return 0Random // get random string,default length is 6Random // get uuid string, default length is 21Random
license
MIT