Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Feature List

Sven Fehler edited this page Sep 24, 2019 · 25 revisions

« Home 🏠

This is a list of features that JSLib offers:

Functions:

Name Description Return Type Since Version
jsl.isEmpty() Checks if a variable is empty Boolean 1.4.0
jsl.isArrayEmpty() Checks if an array is empty Boolean 1.5.0
jsl.error() Sends an error message to the console, optionally to a file and/or exits the process void 1.5.0
jsl.allEqual() Tests whether or not all items of an array are equal Boolean 1.5.0
jsl.softShutdown() Executes a function before process shutdown void 1.5.0
jsl.noShudown() Prevents the process from being exited void 1.5.0
jsl.yesShutdown() Allows the process to be exited if previously prevented by jsl.noShutdown() void 1.6.0
jsl.readableArray() Converts an array to a better readable one Array 1.7.0
jsl.mapRange() Transforms a value to a different numerical range Number 1.8.0
jsl.unused() Indicates an unused variable to a linter void 1.8.0
jsl.replaceAt() Replaces a character in a string with a different string String 1.8.0
jsl.randRange() Generates highly randomized numbers from a set numerical range Number 1.5.0
jsl.randomizeArray() Randomizes all items in an array Array 1.8.0
jsl.seededRNG
.generateSeededNumbers()
Generates a set of random numbers based on a seed (same seed = same numbers) Object 1.8.0
jsl.seededRNG
.generateRandomSeed()
Generates a random seed to be used in generateSeededNumbers() Number 1.8.0
jsl.seededRNG
.validateSeed()
Checks if a seed is valid Boolean 1.8.0
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
net:
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
fs:
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.
jsl.foo() foo foo 1.

Classes:

| jsl.foo | foo | - | 1. | | jsl.foo | foo | - | 1. |

Objects:

| jsl.foo | foo | Object | 1. | | jsl.foo | foo | Object | 1. |

Clone this wiki locally