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

image of os data from terminal

Files

image of different files containing OS data

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    0
    • latest

Version History

Package Sidebar

Install

npm i nodejs-os-data

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

10.9 kB

Total Files

21

Last publish

Collaborators

  • barcellos-pedro