1.0.1 • Published 3 years ago

os_module v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

os_module

A brief description of what this project does and who it's for

Give the Information about your Operating System

API Reference

OS_Arch()

Returns the Operating-System CPU Architecture.

OS_Cpus()

Returns an array of objects containing information about each logical CPU core

Free_Mem()

Returns the amount of free system memory in bytes, MBs, and GBs as an integer.

Host_Name()

Return the host-name of the Operating System as a String

PlateForm()

Returns a string identifying the operating system platform

Total_Memory()

Return the Total Amount of System Memory in GBs

OS_Type()

Returns the operating system name. For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and 'Windows_NT' on Windows.

Installation

Install my-project with npm

  npm i os_module

License

MIT

Authors