JavaScript Library to Generate YouTube-Like ids From Numbers | Hashids


Hashids is a small JavaScript library for creating YouTube-like IDs from numbers. Use it when you don’t want to view your database IDs to the user. How to make use of it: Install the Hashids package. # NPM $ npm install hashids –save Import the Hashids module. import Hashids from ‘./lib/hashids.js’ Initialize the Hashids. var … Read more