@walter.scarborough/base62-random

This is a TypeScript library for generating random base62 strings.

Usage no npm install needed!

<script type="module">
  import walterScarboroughBase62Random from 'https://cdn.skypack.dev/@walter.scarborough/base62-random';
</script>

README

base62-random

Overview

This is a TypeScript library for generating random base62 strings. It uses the built-in Node.js crypto library to generate random characters.

Usage

Call the generateRandomBase62 function with the desired length of your random base62 output.

const base62Output = generateRandomBase62(10);

Running Tests

npm run test

License

MIT