1.1.1 • Published 3 years ago

simple-random-string-creator v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Simple Random String Generator

Created to return a string of random letters and numbers.

There are two possible parameters:

  • Character Limit: provide a number to set the length of the string. (default = 11)
  • Complex: provide a boolean if you want to include special characters or not. (default = false)

Install

yarn add simple-random-string-creator

            or

npm i simple-random-string-creator

Usage

import randString from 'simple-random-string-creator';

const example1 = randString()           // RJu1EZ2QI8Q
const example2 = randString(16)         // tQw0AD3Gc9dq0Kb1
const example3 = randString(11, true)   // sQU7R/3WF6}
------------------------------------------------------------------------------------------------
const example4 = randString(true)       // Will result in a random char, just one (non-complex).
1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago