1.0.1 • Published 5 years ago

simple-token-gen v1.0.1

Weekly downloads
9
License
-
Repository
-
Last release
5 years ago

##Thank you for using Token-Gen!

Currently, token-gen is able to create custom tokens up to 128 characters. You can create tokens, with letters, numbers and symbols, or a numerical ID/token. Currently on 1.0.1.

##What does token-gen really do?

Token-Gen allows you to create random tokens by mixing letters with numbers and symbols, to create a unique and complex token up to 128 characters. It also creates 128-long numerical ID's/tokens.

##Installation

$ npm i simple-token-gen

##Usage

// (example.js)
const token = require('simple-token-gen');
console.log(`token : ${token.token(16, true)}`); 
console.log(`numerical token : ${token.numToken(0, 21, 16, true)}`);
//true = logs the time of the token creation, the size of the token and last 3 digits
//false = tells the user logging is disabled, but someone just created a token

##That's about it! Have fun using Token-Gen, and remember to run

$ npm update

often to check for token-gen's updates :)