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

ptero-deploy

v1.1.0

Published

CLI tool to bump version, create GitHub release and restart a Pterodactyl server

Readme

ptero-deploy

CLI tool to bump version, create a GitHub release, and restart a Pterodactyl server - all in one command.

Install

npm install -g ptero-deploy

Usage

ptero-deploy <--major|--minor|--patch> [options]

Bump flags (required)

| Flag | Effect | |------|--------| | --major | 1.2.32.0.0 | | --minor | 1.2.31.3.0 | | --patch | 1.2.31.2.4 |

Options

| Flag | Description | |------|-------------| | --no-restart | Skip the Pterodactyl server restart | | --dry-run | Show what would happen without making any changes | | --version, -v | Print ptero-deploy version | | --help, -h | Show help |

What it does

  1. Reads the current version from package.json
  2. Bumps to the next version using semver
  3. Writes package.json and package-lock.json
  4. Creates a git commit + annotated tag (v1.2.3)
  5. Pushes branch and tags to the remote
  6. Creates a GitHub release (requires gh)
  7. Sends a restart signal to your Pterodactyl server

Configuration

Create a .env file in your project root (see .env.example):

PTERO_PANEL_URL=https://panel.example.com
PTERO_SERVER_ID=your-server-id
PTERO_API_BEARER=your-client-api-token

Not needed when using --no-restart.

The Pterodactyl API token must have the Send power signals permission on the target server.

Examples

# Patch release with full deploy
ptero-deploy --patch

# Minor release without server restart
ptero-deploy --minor --no-restart

# Preview a major release without doing anything
ptero-deploy --major --dry-run

Pre-checks

Before making any changes, ptero-deploy verifies:

  • You are inside a git repository
  • The working tree is clean (uncommitted changes will abort)
  • The target tag (v1.2.3) does not already exist locally or on the remote

If anything goes wrong after the version bump, the changes are automatically rolled back (commit undone, tag deleted, files restored).

License

MIT © DylanDelobel