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 🙏

© 2025 – Pkg Stats / Ryan Hefner

dockship

v0.3.0

Published

Deploy node.js apps on docker hosts

Downloads

6

Readme

Dockship

Deploy node.js apps on docker hosts.

Preamble

Before you start, you may want to read about the motives behind Dockship in my recent blogpost:

http://braindump.ghost.io/meet-dockship/

Goals behind this solution

  • to have App-management/PaaS-logic completely client-side
  • to have no server-side dependencies beside clean dockerd installation API exposed via TCP

Install

npm install dockship -g

Usage

Command overview

$ dockship

  Usage: dockship command [options]

  Options:

    -h, --help         output usage information
    -V, --version      output the version number

    status             Status of running applications
    list               List deployed applications
    push   <appname>   Push a new application
    start  <appname>   Start the application
    stop   <appname>   Stop the application, also takes --all
    purge  <appname>   Purge application
    -p, --port <port>  Optional host port, defaults to 4243
    -h, --host <host>  Optional host address, defaults to http://127.0.0.1

List available apps

┌──────────────┬────────────────────────────────────────┐
│ id           │ name                                   │
├──────────────┼────────────────────────────────────────┤
│ 34d81953888c │ superapp:latest                        │
└──────────────┴────────────────────────────────────────┘

Start app

$ dockship start superapp:latest
Started: 5e9f186e931e

Stop app

$ dockship stop superapp:latest
Stopped: 5e9f186e931e

Push app

$ dockship push superapp

a .
a ./app.js
a ./Dockerfile
a ./package.json

Step 1 : FROM ubuntu:precise
 ---> 8dbd9e392a96
Step 2 : MAINTAINER Sascha Reuter
 ---> Using cache
 ---> 1a479c14b8bf
Step 3 : RUN apt-get install -y python-software-properties python
 ---> Using cache
 ---> f4791bc909d3
Step 4 : RUN add-apt-repository ppa:chris-lea/node.js
 ---> Using cache
 ---> e660eec930ec
Step 5 : RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
 ---> Using cache
 ---> 6e0b66f1073d
Step 6 : RUN apt-get update
 ---> Using cache
 ---> d9fc6ff57980
Step 7 : RUN apt-get install -y nodejs
 ---> Using cache
 ---> 3eacec1174ba
Step 8 : RUN mkdir /var/www
 ---> Using cache
 ---> 93b969629608
Step 9 : EXPOSE 8080
 ---> Running in 2b897219c3a4
 ---> 62eb23aeffaa
Step 10 : ADD ./ /var/www/
 ---> 2277aa64d91f
Step 11 : CMD ["/usr/bin/node", "/var/www/app.js"]
 ---> Running in d69128319942
 ---> bd08be6ae92f
Successfully built bd08be6ae92f