How to use the base62/lib/ascii.decode 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 tahtaciburak / sourcebin / lib / utils.js View on Github external
exports.url2id = function(url){
    return parseInt(base62.decode(url).toString());
}

base62

JavaScript Base62 encode/decoder

MIT
Latest version published 7 months ago

Package Health Score

80 / 100
Full package analysis