Node.js OS Module - Part 2
Mr. Random Generator - Tech Projects and Tutorials
There are many npm packages available for all sort of tasks, but Node.js itself has vast amount of features. As a result using them will probably be a good idea instead of installing tons of modules. From that reason, I decide to make a mini-series about the Node.js modules. Starting off with the OS Module. This module is one of the Node.js modules that we used to access operating system related properties. We will try to discover every functionality inside the os module. In second part we will look at the following,
- os.freemem()
- os.getPriority([pid])
- os.setPriority([pid, ]priority)
- os.homedir()
- os.hostname()
I hope you enjoy it :)
Helpful Resources:
- Node.js OS Module Documentation: https://nodejs.org/api/os.html
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#Node.js #OS #Module #MrRandomGenerator
Music Used –––––––––––––––––––––––––––––– Ghostrifter Official - Morning Routine [Lofi Study Music]: https://soundcloud.com/ghostrifter-official/morning-routine Ghostrifter Official Social
- Spotify: open.spotify.com/artist/1mIePRs1ixMW0gTaTSbX2p
- Youtube: www.youtube.com/c/GhostrifterOfficial
- Instagram: www.instagram.com/ghostrifterofficial
- Facebook: www.facebook.com/GhostrifterOfficial
- Bandcamp: ghostrifterofficial.bandcamp.com/ ... https://www.youtube.com/watch?v=lHYhTinl9iY
7309526 Bytes