TypeScript library for generating cryptographically strong, uniformly distributed random integers from custom intervals, strings from custom character sets, and boolean values.
Environment detection between Node.js and browser does not work well with bundlers. With minimal additional workings, the users of this package can achieve the same results.
Currently the random generation relies on the Web Crypto API. Node.js should also be supported by using environment detection and the crypto API of Node.