🌱 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
getData().catch(console.error);
npx nodejs-os-data [filename] [format]
Command | Description | Defaults |
---|---|---|
--filename | Filename to use | info.txt |
--format | File extension | .txt |