Hello, I am Ethan! The developer of this package,
Usage:
Declaration: const SScript = require('speddy-script')
Functions:
print():
Usage: SScript.print(args)
Description: Prints the given arguments in console, returns the arguments.
sum():
Usage: SScript.sum(x,y)
Description: Returns the sum of x + y
subtract():
Usage: SScript.subtract(x,y)
Description: Returns the subtraction of x - y
multiply():
Usage: SScript.multiply(x,y)
Description: Returns the multiplication of x * y
divide():
Usage: SScript.divide(x,y)
Description: Returns the division of x / y
RandomInRange():
Usage: SScript.RandomInRange(x,y)
Description: Returns a random number between x and y
System:
Usage: SScript.system
Description: System is an object that has properties of the system.
RAM:
Usage: SScript.system.RAM
Description: Gives information about RAM
TotalMemory:
Usage: SScript.System.RAM.TotalMemory
Description: Returns the Total Memory of the system (Megabytes)
FreeMemory:
Usage: SScript.System.RAM.FreeMemory
Description: Returns the Free Memory of the system (Megabytes)
UsedMemory:
Usage: SScript.System.RAM.UsedMemory
Description: Returns the Used Memory of the system (Megabytes)
CPU:
Usage: SScript.System.CPU
Description: Returns data about the CPU
clock(core)
Usage: SScript.system.CPU.clock(core)
Description: Returns the speed of the core in Megahertz
model
Usage: SScript.system.CPU.model
Description: Returns the model of the CPU
cores
Usage: SScript.system.CPU.cores
Description: Returns the core count of the processor
OS:
Usage: SScript.System.OS
Description: Returns data about the OS
Version:
Usage: SScript.System.OS.Version
Description: Returns the version of the OS
Platform:
Usage: SScript.system.OS.Platform
Description: Returns the platform of the OS
Kernel:
Usage: SScript.system.OS.Kernel
Description: Returns the Kernel name of the OS
Uptime:
Usage: SScript.system.OS.Uptime
Description: Returns the Uptime of the system in seconds.
Architecture:
Usage: SScript.system.OS.Architecture
Description: Returns the Architecture of the OS