GithubHelp home page GithubHelp logo

augustarchive / sysinfo Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 59 KB

:gear: | Shows system information (based on os-utils)

Home Page: https://docs.augu.dev/sysinfo

License: MIT License

JavaScript 100.00%
sysinfo system linux windows sys node nodejs npm yarn yarnpkg

sysinfo's Introduction

@augu/sysinfo

npm version Discord Travis Build status

Shows extended information from Node's os module

Based (and updated version!) of os-utils

Documentation | NPM | GitHub

Usage

const sys = require('@augu/sysinfo');
sys.getCPUInfo();

Using in an IDE

[If you're using VSCode], you'll see a @works annotation label in JSDoc when hovered/looking in this repository, it lists the Operating Systems that will work with that function. It'll also show warnings in the JSDoc by listing the warnings to you or emits a warning in the console if not used properly

Contributing

Thanks for contributing! Here's how to

  • Fork this repository!
  • Clone it to your PC and create your branch (git checkout -b branch)
  • Code your heart out!~
  • Lint the package for any code errors (npm run lint or yarn lint)
  • Run (or add) tests in the tests/test.js file and run it
  • Push to your branch (git push -u origin branch)
  • Submit a pull request

Is this harmful?!

No it's not, most of the Unix and Windows only commands are executed from your computer itself. This library runs a command and returns an output from that command, so if you don't want that, then don't install this library.

LICENSE

sysinfo is released under the MIT License, view here for more information.

sysinfo's People

Contributors

davidcralph avatar dondish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dondish

sysinfo's Issues

Roadmap: v0.2.0

What to add to v0.2.0

  • CPU uptime in sys#getCpuInfo
  • Uppercase Cpu in function names (i.e: getCPUInfo)
  • Add Windows-exclusive commands
    • Since some commands are Unix-exclusive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.