How to use the base62.setCharacterSet function in base62

To help you get started, we’ve selected a few base62 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla / addons-frontend / src / amo / utils / index.js View on Github external
export function getDjangoBase62() {
  // This is the alphabet used by Django.
  base62.setCharacterSet(
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
  );
  return base62;
}

base62

JavaScript Base62 encode/decoder

MIT
Latest version published 9 months ago

Package Health Score

78 / 100
Full package analysis