1.0.5 • Published 4 years ago

rid.js v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Table Of Contents

About

Examples

Types

About

rid.js is a lightweight package that allows you to generate IDs. The IDs can be any length (as long as it's not 0).

It's simple to use, and new features are being added!

Examples

const id = require('rid.js');

const generatedID = id.generate("all", 10)  // "all" is a type. The "all" type generates IDs with letters, numbers, and symbols.
console.log(generatedID);
//Output: P?i*OY74&C
//The output will be different for you.

Types

TypeDescription
"all"Generates an ID with letters, numbers, and symbols.
"letter"Generates an ID with only letters.
"letterAndSymbol"Generates an ID with just letters and symbols.
"number"Generates an ID with only numbers.
"numberAndLetter"Generates an ID with just numbers and letters.
"numberAndSymbol"Generates an ID with just numbers and symbols.
"symbol"Generates an ID with only symbols.
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago