nodejs-os-data
1.0.6 • Public • Published Nodejs OS Data: A simple package to view OS data
🌱 I did this project to learn about how to publish a NPM package and work with command-line arguments
💻 Get operating system-related data such as CPU Architecture, CPU Model, Total memory, and more!
🍃 Lightweight without dependencies
Preview
Console
Files
How to use
Code
getData().catch(console.error);
NPX
npx nodejs-os-data [filename] [format]
Available Options:
Command |
Description |
Defaults |
--filename |
Filename to use |
info.txt |
--format |
File extension |
.txt |
References
Node.js API docs used as knowledgebase
Package Sidebar
Install
Weekly Downloads