1.0.4 • Published 3 years ago

basic-cli-module v1.0.4

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

basic-CLI-module

os

Ref The os module provides operating system-related utility methods and properties. It can be accessed using:

const os = require('os');

How to call each data

  • node yourapp.js -arch ----> shows architecture Use os.arch()
  • node yourapp.js -cpu ----> shows cpus Use os.cpus()
  • node yourapp.js -ram----> shows ram Use os.totalmem() and os.freemem()
  • node yourapp.js -hdd----> shows disk space Instal check-disk-space
  • node yourapp.js -hostname ----> shows hostname Use os.hostname()
  • node yourapp.js -ip ----> shows ip address Use os.networkInterfaces()
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago