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 🙏

© 2026 – Pkg Stats / Ryan Hefner

usp-cli

v1.1.11

Published

``` npm install -g usp-cli ```

Readme

Installation

npm install -g usp-cli

Cloning

Clone repository, then inside the folder:

npm install
npm link

You can now use usp in your terminal. After installing make sure to run usp config once to properly configure the connection settings.

CLI

USAGE

$ usp [COMMAND]

Commands:

  • help [command...] Provides help for a given command.
  • version/-v/--version Shows current cli version
  • exit Exits application.
  • config [options] Change connection config
  • connect Connect to device
  • disconnect Disconnect from device
  • get [options] <paths...> Get value at path
  • set <value...> Set value at path
  • operate [value...] Execute operation at path
  • add [value...] Add object to path
  • del Delete object from path
  • sniffer [pattern] Puts cli in mode that displays all incoming messages with pattern matching (default pattern .*)
  • subscribe Subscribe to type of event at given path

config

Change connection config

USAGE

$ usp config

OPTIONS -d, --default Restore default configuration -p, --print Print current config

get

Get value at path

USAGE

$ usp get PATH

OPTIONS -r, --resolve=resolve resolve references in result

EXAMPLES

$ usp get Device.WiFi. $ usp get Device.WiFi.Radio.1. Device.WiFi.Radio.2.

set

Set value at path

USAGE

$ usp set PATH VALUE

EXAMPLES

$ usp set Device.WiFi.Radio.1.Alias cpe-1 $ usp set Device.WiFi.Radio.1. { Alias: 'cpe-1' }

operate

Run given operation

USAGE

$ usp operate PATH [VALUES]

EXAMPLE

$ usp operate Device.SelfTestDiagnostics() $ usp operate Device.IP.Diagnostics.IPPing() { Host: 'iopsys.eu' }

add

Add object to path

USAGE $ usp add PATH [OBJECT]

EXAMPLES $ usp add Device.NAT.PortMapping. $ usp add Device.NAT.PortMapping. { Alias: 'cpe-1' }

del

Delete object at path

USAGE $ usp del PATH

EXAMPLE $ usp del Device.NAT.PortMapping.1.

sniffer

Puts cli in mode that displays all incoming messages with pattern matching (default pattern .*)

USAGE $ sniffer PATTERN

EXAMPLE $ usp sniffer $ usp sniffer NOTIF@.*

subscribe

Subscribe to events

Possible event types: | Event | ValueChange | ObjectCreation | ObjectDeletion | OperationComplete | OnBoardRequest

USAGE $ usp subscribe

EXAMPLES $ usp subscribe ValueChange Device.Time.CurrentLocalTime $ usp subscribe Event Device.LocalAgent.Periodic!

version

Prints current cli version

USAGE $ version

EXAMPLE $ usp version