Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

speddy-script

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speddy-script

A basic interesting script.

  • 1.0.1
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 01 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc