Global

Members

(constant) animateTextCypher

Animates the given text to be revealed from either left to right or right to left.
Source:

(constant) applyKey

Applies the given key onto the text
Source:

(constant) generateKeyArray

Generates a key array for every letter of the given text with given number.
Source:

(constant) isInLatinLowercaseRange

Checks if given code point is within Latin lowercase range The code point for 'a' is 97, until the code point for 'z' is 122.
Source:

(constant) isInLatinUppercaseRange

Checks if given code point is within Latin uppercase range The code point for 'A' is 65, until the code point for 'Z' is 90.
Source:

(constant) isWithinLatinRange

Checks if given code point is within Latin range The code point for 'A' is 65, until the code point for 'z' is 122.
Source:

(constant) makeKeyArray

Returns an array of the code points for the given key between 0 and 26
Source:
Examples
// returns [0, 1, 2]
makeKeyArray('abc');
// returns [1, 4, 11, 11, 0, 18, 14]
makeKeyArray('Bellaso!!Äö@');

Methods

sleep(milliseconds) → {Promise.<unknown>}

Sleeps for the given amount of time.
Source:
Parameters:
Name Type Description
milliseconds number
Returns:
Type:
Promise.<unknown>