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

@hugohammarstrom/wp-dploy

v0.0.7-1

Published

[![npm version](https://badge.fury.io/js/%40hugohammarstrom%2Fwp-dploy.svg)](https://badge.fury.io/js/%40hugohammarstrom%2Fwp-dploy) [![Coverage Status](https://coveralls.io/repos/github/hugohammarstrom/wp-dploy/badge.svg?branch=master)](https://coveralls

Readme

WP-DPLOY

npm version Coverage Status

Wp-dploy is a cli-tool that simplifies the setup of local wordpress development environments.

Prerequisites

Getting started

Install wp-dploy globally

$ npm i -g @hugohammarstrom/wp-dploy

Setup project to support wp-dploy:

$ mkdir new-wp-project
$ cd new-wp-project
$ wp-dploy init

Start wp-dploy containers:

$ wp-dploy start

Notice: To use the wp-dploy dns you need to add 127.0.0.1 as a namserver in your network configurations, a tip is to add another dns to prevent the network from not working when the wp-dploy dns is stopped. eg: 8.8.8.8 and 8.8.4.4

Commands

All commands that wp-dploy supports

Init

Init command used to initialize a dploy project

$ wp-dploy init

Notes:

  • If you are not using the wizard to initialize the project you need to replace the placeholders in the .dplorc.json file

Start

Start command used to start local invironment

$ wp-dploy start | up

Notes:

  • Must be run in a directory that is initialized as a dploy project

Stop

Stop command used to stop local invironment

$ wp-dploy stop | down

Options:

  • -a or --all If you want to stop containers that is not in the current directory

Deploy

Stop command used to stop local invironment

$ wp-dploy deploy

Options:

  • -a or --all Deploy to all configured sites
  • -t or --tag Deploy a specific commit tag or hash
  • -b or --branch The branch to deploy from
  • --sites A comma separated string with site names to deploy to

List

List all containers that is managed by wp-dploy

$ wp-dploy list | ls

WP-cli

wp-dploy adds a command to use the internal wp-cli in the docker containers:

$ docker-wp

Notes:

  • This command needs to be executed inside the project directory

Configuration file

{
    "server": {
        "host": "example.com", -- This is the hostname that wp-dploy uses to ssh into the server --
        "username": "root", -- This is the username that wp-dploy uses to ssh into the server --
        "installation": {
            "path": "/home/ubuntu/wp-installation" -- This is the path on the server where wordpress is installed --
        }
    },
    "sites": [{
        "url": "example.com", -- The url to the production website --
        "local_url": "example.localhost" -- The url to the development website locally--
    }]
}

Todos

  • Write Tests
  • Explore the possibility to use recipes for database pulling. Eg via npm modules
    • Variables in .dployrc.json that can be passed to the recipes
    • Being able to specify which recipe to use in .dployrc.json

License

MIT © Hugo Hammarström

Free Software, Hell Yeah!