GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - deployable/base62-random: Generate random base62 strings in Javascript

BranchesTags
Open more actions menu

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
test
test
 
 
.eslintrc.yaml
.eslintrc.yaml
 
 
.gitignore
.gitignore
 
 
.istanbul.yml
.istanbul.yml
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
base62-random.min.js
base62-random.min.js
 
 
index.js
index.js
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

base62-random

Generate random base62 strings quickly with better statistical dispersion than Math.random() unless Math.random is all that's available.

Largely based on uuid-random

Install

yarn add base62-random
npm install base62-random

Example Usage

Node

var base62 = require('base62-random');
base62(12); // 'KsykHbcCzUSL'

Browser

<script src="https://cdn.rawgit.com/deployable/base62-random/v0.3.5/base62-random.min.js"></script>
<script>
  base62(13); // 'BAhl1V1BfUmo3'
</script>

Is base62 string?

base62.test('5HXx8Eznu0'); // true
base62.test('P-f6cA4e'); // false

License

MIT

Links

  • Based on jchook/uuid-random
  • github deployable/base62-random
  • npm base62-random

About

Generate random base62 strings in Javascript

www.npmjs.com/package/base62-random

Topics

base62cryptoidjavascriptnodejsrandom

Resources

Readme
License
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.