Print

Prints an element

jspeed.print(element)

PrintColor

Returns a string with the desired color

jspeed.printColor(element, color)

color

Returns a string with the desired color

jspeed.color(element, color)

printLn

Print the element with a space

jspeed.printLn(element)

random

Returns a random number between n1 and n2.

jspeed.random(n1, n2)

type

Returns the string converted to integer

jspeed.type(elemento)

toInt

Returns the integer converted to a string

jspeed.toInt(String)

toStr

Returns the integer converted to string

jspeed.toStr(Number)

genToken

Returns a randomly generated token with numbers and letters

jspeed.genToken(length)

genNumToken

Returns a randomly generated token with numbers only.

jspeed.genNumToken(length)

genStrToken

Returns a randomly generated token with letters only.

jspeed.genStrToken(length)

server

Create a simple http server on a custom host

jspeed.server(port, file, host)

findById

Returns the result of the search in an array

jspeed.findById(array, id)

findByName

Returns the result of the search in an array

jspeed.findByName(array, name)

isEmpty

Returns true if the array is empty

jspeed.isEmpty(array)

randomColor

Returns a random HEX color

jspeed.randomColor()

date

Returns an object with all date properties

jspeed.date()

Made with ❤ by Marc Medrano