This is a TypeScript library for generating random base62 strings. It uses the built-in Node.js crypto library to generate random characters.
npm install --save @walter.scarborough/base62-random
Call the generateRandomBase62
function with the desired length of your random base62 output.
const base62Output = generateRandomBase62(10);
npm run test
MIT