simple-text-id-gen
v1.0.1
Published
⚙ Simple ID generator script
Downloads
3
Readme
ID Generator
This project is just a little thing which can help you to generate ID for your users. It's very simple to use.
How to install
The installation step is quite simple, you'll only need to have NPM installed on your computer to make the script work. Make sure to have to last stable version.
Execute the following command:
npm i simple-text-id-gen
When installation is finished, you have successully installed ID script on you project.
How does it work
First of all, you'll need to import the script on the project, to do that:
const id = require('simple-text-id-gen')
Afterward, if you want to generate an ID, you have the following method:
id.gen('<SOME STRING HERE>')
That method will return a unique identifier consisting of the date and the text.