Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exports.url2id = function(url){ return parseInt(base62.decode(url).toString()); }
JavaScript Base62 encode/decoder