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

node-red-contrib-padavan

v1.0.2

Published

Router management with Padavan firmware

Downloads

10

Readme

Router management with Padavan firmware

Install

npm install node-red-contrib-padavan

Nodes

Configuration

Input

| credentials | Description | --- | --- | repo | Repository where firmware builds are hosted | branch | Branch for the device | token | Access token for GitHub | host | Router IP address | username | Username for router access | password | Password for router access

SpeedTest

Measure download and upload speeds

Output

| outputs | Description | --- | --- | result | Result | history | Result with date and timestamp | progress | Test start and end

| result.msg | type | Value | --- | --- | --- | topic | string | NetworkControl | payload | object |

| payload | Description | --- | --- | networkDownloadSpeedMbps| Download speed | networkUploadSpeedMbps | Upload speed

Devices

Get the list of connected devices

Output

| msg | type | --- | --- | payload | array | numConnectedDevices | integer

| payload | | --- | | hostname | | ip | | mac | | rssi |

History

Retrieve traffic history

Output

| msg | type | --- | --- | payload | object | networkUsage | string | networkUsageMB | integer

| payload | type | Description | --- | --- | --- | daily_history | array | Daily | monthly_history | array | Monthly

| *_history | Description | --- | --- | 0 | Year, month, day | 1 | Download | 2 | Upload

Updates

Manage firmware updates

Input

| msg | type | --- | --- | topic | string

| topic | Description | --- | --- | build | Build firmware | changelog | List of changes | upgrade | Install firmware

Output

| msg | type | Value | --- | --- | --- | topic | string | changelog | error | string | | payload | object |

| payload | Description | --- | --- | from_id | Current firmware | to_id | Built firmware | data | Array of changes

Status

Retrieve and manage router status

Input

| msg | type | --- | --- | topic | string

| topic | Description | --- | --- | status | Get current status | log | Get logs | reboot | Reboot

Output

| msg | type | Value | --- | --- | --- | topic | string | status | payload | object |

| payload | Description | --- | --- | lavg | System load average over the last 1, 5, and 15 minutes | uptime | Router uptime | ram | RAM usage information | swap | Swap memory status | cpu | CPU load information | wifi2 | Wi-Fi status on the 2.4 GHz band | wifi5 | Wi-Fi status on the 5 GHz band | logmt | Timestamp of the last log modification

| uptime | | --- | | days | | hours | | minutes |

| ram | Description | --- | --- | total | Total RAM (in KB) | used | Used RAM | free | Free RAM | buffers | RAM used for buffers | cached | RAM used for cache

| swap | | --- | | total | | used | | free |

| cpu | Description | --- | --- | busy | Total time the CPU has been busy | user | Time spent on user processes | nice | Time spent on processes with modified priority | system | Time spent on system processes | idle | Idle time when the CPU was not busy | iowait | Time spent waiting for I/O operations | irq | Time spent on hardware interrupt handling | sirq | Time spent on software interrupt handling | total | Total units of time since the system started

| wifi* | Description | --- | --- | state | Network state | guest | Guest network state

Parameters

Retrieve and modify parameters

Input

| msg | type | --- | --- | payload | object | topic | string

| topic | Description | --- | --- | list | Retrieve all parameters | get | Retrieve specific parameters | set | Modify parameters

| payload | | --- | | sid_list | | action_mode |

Output

| msg | type | --- | --- | topic | string | payload | object

Details

If sid_list is specified, changes will be sent via the web panel.

If action_mode is not specified, it will be sent as Apply.