Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

simple-token-gen

1.0.1 • Public • Published

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 :)

Keywords

Install

npm i simple-token-gen

DownloadsWeekly Downloads

2

Version

1.0.1

License

none

Unpacked Size

5.84 kB

Total Files

5

Last publish

Collaborators

  • avatar