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

@crestron/ch5-utilities-cli

v2.19.0

Published

CH5 Utilities CLI for archiving and distribution

Readme

CH5 Utilities CLI

Archiving and distribution utilities from the ch5-utilities library wrapped as CLI commands.

Table of Contents

Background

The purpose of the library is to expose the ch5-utilities archive and distribute functionality as two commands: archive and deploy.

Setup

Before going through these steps, make sure you have completed the setup section in ch5-utilities, since it is a dependency.

Install the required packages.

npm install

Add the ch5-utilities library.

npm link @crestron/ch5-utilities

Build the library.

npm run build

Publish the ch5-utilities-cli library for local usage.

npm run link

Commands

npm run publish:local

After the initial setup, you can use this command to rebuild and publish changes in the library.

Usage

The cli contains two commands: archive and deploy. After following the steps from above, just write ch5-cli in the terminal, and hit enter - it will display the default message for options and commands. For details about how to use the commands, you can write ch5-cli archive --help or ch5-cli deploy --help - this will display the options and what they mean.

First you would need to run the archive command to generate the ch5z file, then you need to run the deploy command giving the archive path ( relative or absolute ). The deploy command will prompt you for the SFTP user and password,

Authentication to Control System

There are multiple ways in which the user can provide credentials to the ch5-cli:

  • default values
  • environment variables (CH5CLI_DEPLOY_USER and CH5CLI_DEPLOY_PW)
  • a public/private key pair

The truth table below demonstrates the behavior depending on the parameters that are passed:

|-u identityUser|-i identityFile |-p prompt for credentials | env vars | Authenticate with| | ----------- | ----------- |----------- | ----------- |----------- | |0|0|0|0|Default values| |0|0|0|1|Environment variables| |0|0|1|X|User and password from user prompt| |0|1|0|0|System username ($USER on unix, %USERNAME% on windows)| |0|1|0|1|User and passphrase from environment variables| |0|1|1|X|User and passphrase from user prompt| |1|0|X|X|Invalid combination. Will display an error message| |1|1|0|0|Provided identityUser and identityFile. If passphrase is required, an error message is shown| |1|1|0|1|Passphrase from environment variable, if required| |1|1|1|X|Passphrase from user prompt|

Examples

> ch5-cli archive --project-name angular-demo-app --directory-name dist/NgIseCh5Demo --output-directory output-test
>
> ch5-cli archive -p my-project-v1.0.0 -d ./ -o /Users/${USERNAME}o/git/CH5UtilitiesCli -s shell-template.ch5z
>
> ch5-cli deploy output-test/angular-demo-app.ch5z --deviceHost 192.168.2.44 --deviceDirectory display --deviceType touchscreen

License

Copyright (C) 2018 to the present, Crestron Electronics, Inc. All rights reserved. No part of this software may be reproduced in any form, machine or natural, without the express written consent of Crestron Electronics. Use of this source code is subject to the terms of the Crestron Software Development Tools License Agreement under which you licensed this source code.

If you did not accept the terms of the license agreement, you are not authorized to use this software. For the terms of the license, please see the license agreement between you and Crestron at http://www.crestron.com/sla.