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

@svrooij/sonos-docs

v1.4.1

Published

CLI tool to generate documentation for the undocumented sonos api

Readme

Sonos client generator @svrooij/sonos-docs

CLI tool to generate documentation for the undocumented sonos api

oclif Version Downloads/week License

🏗 Usage

$ npm install -g @svrooij/sonos-docs
$ sonos-docs COMMAND
running command...
$ sonos-docs (--version)
@svrooij/sonos-docs/1.4.1 linux-x64 node-v24.18.0
$ sonos-docs --help [COMMAND]
USAGE
  $ sonos-docs COMMAND
...

🔨 Commands

sonos-docs combine

Generate combined.json file by combining the documentation file and the discovered services.

USAGE
  $ sonos-docs combine [--docsFile <value> | --docsUrl <value>] [--models <value>] [--folder <value>]
    [--discoveryUrl <value>] [--out <value>]

FLAGS
  --discoveryUrl=<value>  [default: https://github.com/svrooij/sonos-api-docs/raw/main/generator/sonos-docs/data/] Base
                          url to load the discovery files from
  --docsFile=<value>      File location of documentation, instead of url.
  --docsUrl=<value>       [default:
                          https://raw.githubusercontent.com/svrooij/sonos-api-docs/main/docs/documentation.json] The url
                          of the documentation, this is just to override the documentation url
  --folder=<value>        Load discovered services from this folder. Loaded from repository if empty
  --models=<value>        [default:
                          S1-2,S3-2,S6-2,S9-2,S13-2,S14-2,S16-2,S17-2,S18-2,S21-2,S27-2,S33-2,S36-2,S38-2,S39-2,Sub-2]
                          Models to use, separated by comma. as {model}-{softwareGen}
  --out=<value>           [default: .cache/combined.json] Output filename

DESCRIPTION
  Generate combined.json file by combining the documentation file and the discovered services.

See code: src/commands/combine.ts

sonos-docs generate TEMPLATE OUTPUT

Generate files based on the intermediate file and a template.

USAGE
  $ sonos-docs generate TEMPLATE OUTPUT [-i <value>]

ARGUMENTS
  TEMPLATE  The template to use, either a folder relative to the current or a folder included in the generator
  OUTPUT    The root directory where the files should be generated

FLAGS
  -i, --combined=<value>  [default: .cache/combined.json] combined documentation file to use. generate with 'combine'

DESCRIPTION
  Generate files based on the intermediate file and a template.

See code: src/commands/generate.ts

sonos-docs musicservices IP

List music services available on a Sonos speaker

USAGE
  $ sonos-docs musicservices IP [--show] [--docs] [--saveJson <value>]

ARGUMENTS
  IP  The IP of the sonos speaker to load the music services

FLAGS
  --docs              Show a markdown table
  --saveJson=<value>  If set, save music services as json
  --show              Show the music services in a table

DESCRIPTION
  List music services available on a Sonos speaker

See code: src/commands/musicservices.ts

sonos-docs services IP

Fetch device discovery document and generate json file

USAGE
  $ sonos-docs services IP [-f <value>] [-d]

ARGUMENTS
  IP  The IP of the sonos to do service discovery for.

FLAGS
  -d, --dryRun
  -f, --folder=<value>  [default: data] Folder to write discovered services.

DESCRIPTION
  Fetch device discovery document and generate json file

See code: src/commands/services.ts