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

hs-toolbox

v1.1.14

Published

command line profile and package manager for hotschedules development tools

Downloads

17

Readme

#Installation & Setup

The hs-toolbox is available on public NPM and does not require any special credentials to download or install the tools. The toolbox SHOULD be installed globally.

> npm install -g hs-toolbox
-- or more likely --
> sudo npm install -g hs-toolbox

The package includes two important tools

  1. hs-profile
  2. hs-installer

#Profile

A profile is intended to encapsulate common data about the user that can be reused by many different tools.

  1. A local system MAY contain one or more profiles
  2. A local system MUST have a unique name on the local system
  3. A local system MAY have one active profile at a given time
  4. A profile is associated with exactly one environment
  5. A profile is bound to exactly one authorization context represented
  6. A profile's authorization context MAY only have 0..1 usernames
  7. A profile's authorization context MAY only have 0..1 passwords
  8. A profile MAY have 0..M namespaces associated with it

##Usage

Usage: hs-profile [options] [command]

###First time setup flow

$> hs-profile setup           # answer the questions create default profile
$> hs-profile view            # confirm the setup
$> hs-profile me              # confirm the valid connection
$> hs-profile use <namespace> # add the namespaces to the file

###Moving between namespaces within a profile

$> hs-profile namespaces      # list them
$> hs-profile use <active>    # establish the new namespace
$> hs-profile namespace       # confirm the change

###Working with profiles

$> hs-profile ls 				  # list all of the local profiles
$> hs-profile which 			  # check to see which one is active
$> hs-profile activate <profile> # switch to the new profile
$> hs-profile which              # confirm the change

##Commands:

*info
*setup|init [profile-name]
*ls *which *view *switch|activate
*remove
*env|whereami
*username|whoami
*set-password
*me
*namespaces
*namespace
*use [namespace]
*prune|unuse [namespaces...]

###Local Profile Commands

####setup | init

guided setup to create a named profile

####which

which profile is currently active

####switch | activate

change the active profile

####remove

delete a local system profile

###Active Profile Commands

The following commands are intended to allow reading and writing to the active profile.

####view view the public contents of the active profile

####env | whereami

print the base domain name for the profile

Authorization commands are used to modify or understand the profile's user.

####username | whoami

print the local user

####set-password

sets the password for the current local user

####me

look up and print the system user

####namespaces

prints all the namespaces associated with the current profile

####namespace

prints the active/default namespace for the active profile

####use

makes a particular namespace the active default for the context. If the nanespace does not exist it is added.

####prune

removes one or more namespace(s) from the current profile

##Installer

The installer allows a developer to interacts with private packages in HotSchedules repositories.

###Usage

Usage: hs-installer [options] [command]

####First time setup flow

In order to work with the private repositories, you will need to obtain a developer token. This token will allow you to download and install packages locally on the system. All installer commands are dependent on having this license installed.

$> hs-installer set-license <license-file>	# add the license to system 
$> hs-installer install semvr				# confirm connection details
$> hs-installer uninstall semvr				# remove the package locally

####Managing a system tool

System tools are intended to be installed globally so they can be reused across various projects or workspaces. The commands MAY require elevate priviledge to install on your local system (e.g. run as sudo).

$> hs-installer install-tool <pkg>    	# install the tool
$> hs-installer uninstall-tool <pkg>    	# remove it

####Managing a local project librairy or dependency

Libraries are intended to be installed locally so they can be versioned specifically for you project or workspaces.

$> hs-installer install <pkg> --save		# install the package and save to package.json
$> hs-installer uninstall <pkg>    		# remove the package (and dependencies)

####Publishing a package to the HotSchedules code repository

COMING SOON!

$> hs-installer set-publisher	# set publishing key
$> hs-installer publish 	    # publish a package