npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ralphwetzel/node-red-systeminformation

v1.2.0

Published

Node-RED interface to systeminformation, the System Information Library for Node.JS

Downloads

42

Readme

@ralphwetzel/node-red-systeminformation

Node-RED interface to systeminformation, the System Information Library for Node.JS

Citing @sebhildebrandt, the creator of systeminformation:

Started as a small project [...], it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 220 mio downloads overall. #1 NPM ranking for backend packages.

This node lets you call one of the functions provided by systeminformation. The result of each call will be returned as msg.payload.

There are two ways to select the function to be called:

Static configuration via the node property editor

You may configure the to-be-called function via the nodes property editor.

Functions are arranged in groups, following the systeminformation documentation.

In case a function expects additional parameters, those may be defined as required.

Additionally, the node may be configured to observe the selected function by polling at a given rate. If polling is enabled, you may decide to let the node emit a msg only if the function call returned changed values.

Dynamic mode

You may trigger the call of a systeminformation function as well by sending to the node a msg that is configured accordingly:

topic: name of the systeminformation function to be called.

payload: optional <object> with parameters to be passed to the function. The keys of the objects properties have to match the names of the parameters as defined by the systeminformation documentation, e.g:

{
    topic: 'versions',
    payload: {
        apps: 'npm, php, postgresql'
    }
}

The dynamic mode may be used in addition & parallel to a static configuration, as shown in the provided example.