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

@foamfactoryio/shipout

v0.1.9

Published

A lightweight tool for deploying node applications from within a source repository

Readme

shipout

A lightweight tool for deploying node applications from within a source repository

Usage

  1. Inside of your project, run:
npm install --save-dev @foamfactoryio/shipout

Alternatively, if using yarn, run:

yarn add -D @foamfactoryio/shipout
  1. Add your configuration to your package.json or environment variables (see Configuration), below.
  2. Add a shipout script to your package.json (or, alternatively, use publish if you so desire):
"scripts": {
  ...
  "shipout": "shipout"
  ...
},

Configuration

Configuration for shipout is performed within the package.json file. The basic configuration within package.json is the shipout object:

"shipout": {
  "environment_name": {
    # key-value pairs go here
  }
},
... rest of package.json ...

Within the top-level shipout configuration, several configuration variables are expected to be defined: server username, server hostname/ip address, an optional port), remote base directory, and (optionally) the number of old releases to keep. Each of these must be configured per-environment.

Example Configuration

"shipout": {
  "production": {
    "host": "anywhere.example.com",
    "port": 9006,
    "username": "deployer_bot",
    "base_directory": "/var/www/",
    "keep_releases": 5
  }
}

host

The hostname (or IP address) of the remote host to deploy to. Does not have a default and must be specified.

port

The port to connect to on the remote host. If not specified, will default to 22.

username

The username of the user to login with on the remote host. Defaults to the username of the current user logged in to the local system.

base_directory

The base directory, as an absolute path, that contains the releases on the remote host. Does not have a default and must be specified.

keep_releases

The number of old releases to keep on the remote host. If set to -1, all cleanup of old releases will be disabled and all releases will be kept indefinitely. Defaults to 5 if not specified.

verbose

Whether or not to output debugging information. Defaults to null, which is equivalent to false. If you want debugging information specified, use true.

Running Tests

Prerequisites

You will need the following installed prior to running tests:

  • openssh-server

To install the prerequisites with apt, use the following command:

sudo apt install openssh-server