niieani/hashids.js – создание id как у ютуба по числам
const hashids = new Hashids()
const id = hashids.encode(1, 2, 3) // o2fXhV
const numbers = hashids.decode(id) // [1, 2, 3]
const hashids = new Hashids()
const id = hashids.encode(1, 2, 3) // o2fXhV
const numbers = hashids.decode(id) // [1, 2, 3]