# simple-token-gen

> This package allows you to create tokens and ID's, with optional logging! And it's leightweight! WOW OMG MOM GET THE CAMEWA

Latest version **1.0.1** (published 2019-02-21) · 0 weekly downloads

## Install

```sh
npm install simple-token-gen
pnpm add simple-token-gen
yarn add simple-token-gen
bun add simple-token-gen
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-02-21 |
| First published | 2019-02-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | andremont0101 |
| Maintainers | andremont0101 |
| Keywords | token, 128, id |

## Links

- npm: https://www.npmjs.com/package/simple-token-gen
- npm.io page: https://npm.io/package/simple-token-gen

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-02-21
- 0.9.3 — 2019-02-20

## README

##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
``` bash
$ npm i simple-token-gen
```

##Usage
``` js
// (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 
``` bash
$ npm update
```
often to check for token-gen's updates :)

---
_Source: https://npm.io/package/simple-token-gen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
