Runkit
Runkit
home page
user forum
new notebook
support & documentation
log in
sign up
new notebook
documentation & support
Sign In
Sign Up
flesch's notebooks
Untitled
-
/flesch/hashids
Last edited 4 years ago
const Hashids = require('hashids'); const hashids = new Hashids('f43EmNonNvJu4XFHaTPuofWMsLzcwYuP', 6, 'abcdefghijkmnopqrstuvwxyz123456789'); const [ submissionId, userId ] = hashids.decode('k2c69zo4qr8r'); submissionId;