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

openwhisk-wskp

v0.4.0

Published

OpenWhisk command line with extensions

Downloads

12

Readme

Build Status

wskp (aka wsk+)

wskp is a CLI wrapper around Apache OpenWhisk wsk with additional commands. Under the cover, wskp calls wsk to provide 100% wsk compatibility.

Installing

$ npm install openwhisk-wskp -g
$ wskp

Usage: wskp <command> [options]
...

.wskprops

wskp configuration parameters (i.e. AUTH, APIHOST, ...) are stored in a file called .wskprops. The value of these parameters is resolved as follows:

  1. value specified on the CLI (i.e. -u)
  2. value specified in the environment ($AUTH, $APIHOST, ...)
  3. the value stored in $WSK_CONFIG_FILE
  4. the value stored in .wskprops located in the current directory. If no .wskprops exists, look in the parent directory until reaching the user home directory

Commands

wskp update

Check for the wskp and wsk updates.

wskp env

Work with environments.

A deployment environment consists of a name and a set of variables. Each environmnent is persisted in .<env>.wskprops in the project root directory. The current resolved environment in stored in .wskprops (don't not commit this file).

wsk supports these variables:

  • AUTH, WHISK_AUTH: the OpenWhisk authentication key
  • APIHOST, WHISK_APIHOST: the OpenWhisk host
  • CERT:
  • KEY:
  • NAMESPACE, WHISK_NAMESPACE
  • APIVERSION, WHISK_APIVERSION:

In addition, wskp supports these variables:

  • BLUEMIX_SPACE: a Bluemix space used to computed AUTH

wskp env list

List all environments for the current project

wskp env set <envname>

Set the current environment to <envname>. Resolve missing environment variables when needed.

wskp deploy

Deploy project to OpenWhisk.

Usage: wskp deploy [options] <openwhisk.yml>
  
Command Options:

-m, --mode [mode]      deployment mode (create|update) [create]

wskp undeploy

Undeploy project.

Usage: wskp undeploy [options] <openwhisk.yml>

wskp refresh

Update the project description with deployed entities.

Usage: wskp refresh [options]
  
Command Options:

-f <format>, --format <format>]  output format (bash|yaml) [yaml]

wskp sync

Update the deployment configuration based on the current directory structure.

This commands scans the following directories:

|- actions
   |- <action-name>
      <action>.js or <package.json>
   action-name.js
|- packages
  |- <package-name>
     |- <action-name>
        <action>.js or <package.json>
     action-name.js

wskp yo

Builtin stub generator based on yeoman.

wskp yo action

Generate an action.

The package and action names are inferred by analyzing the current directory structure (see sync).

Development

$ https://github.com/lionelvillard/openwhisk-wskp
$ cd openwhisk-wskp
$ npm i

To run the tests, it is recommended to create the file .wskprops in the project root directory. Then do:

$ npm test