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

@brightsign/bsc

v2.0.2

Published

Simple Node CLI App to communicate with a BrightSign player over the LAN using the Local DWS REST HTTP APIs.

Downloads

8

Readme

bsc - BrightSign CLI for DWS

GitHub Actions Jest Licence


The BrightSign CLI tool bsc is the command line interface for interacting with the Diagnostic Web Server (DWS).

This is the second version of bsc, with the deprecated code being found here. This code contains breaking changes, so update with caution.

Install the CLI

It is recommended to install the CLI through the npm package manager, which comes bundled with Node.js when installed on your system.

With npm installed, we recommend bsc to be installed and upgraded globally:

npm install --global @brightsign/bsc

Getting Started

Add a player to bsc with:

bsc local player --add

storing information in ~/.bsc/players.json.

Note: If you have not used bsc before, you must generate the players.json file (for now). Run:

touch ~/.bsc/players.json

Then, add your first player with:

bsc local player --add --player playerName --ip ip-address --user username --pass password --storage sd | ssd | usb

From here, the supported commands can be seen by running, bsc or bsc --help.

To get started with your first interactive command, try to retrieve your player's info:

bsc info --player PLAYER_NAME

NOTE: This CLI will have multiple nested command-spaces (such as cloud features), but for now there is only one: local. You must namespace into this field to use the commands: bsc local ....

TIP: Adding --help after any command will provide additional information on how to use that command.

Filepath Naming Convention

Many commands require either a filePath or a location parameter to be passed in. When we refer to a file on the player, or any path locally (file or directory), this is filePath. When referring to a directory on the player, this is location.

To upload a file, for example:

bsc local file --upload --player playerName --file ./path-to-your-file --destination sd/path-on-player

Note that the --destination option is optional, and without it the file will be uploaded to the root of the SD card. Also note that you can upload directories or files with --file.