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

remote-deployment-utility

v1.1.0

Published

Secure remote deployment utility with Cloudflare tunnel support, API key protection, and OpenAPI documentation.

Readme

Remote Deployment Utility

Build Status License OpenAPI

Remote Deployment Utility is an open source service that runs on a remote machine and can be exposed through a Cloudflare tunnel. Developers can deploy release archives securely using authenticated API requests.

Core Features

  • API key protected deployment endpoint (x-deployment-key).
  • Configurable idle shutdown (default: 8 hours) to reduce exposure windows.
  • Strict deployment path boundary checks to prevent directory traversal.
  • OpenAPI 3.0 + Swagger documentation at /api-docs.
  • Security-focused response headers and safe structured logging.
  • Container-ready stateless architecture.

Folder Structure

.
├── src
│   ├── controllers
│   ├── data
│   ├── middleware
│   ├── models
│   ├── services
│   └── utils
├── tests
├── examples
│   ├── npm-script
│   ├── grunt
│   ├── webpack
│   └── github-actions
├── .github
│   ├── workflows
│   └── pull_request_template.md
├── docker-compose.yml
├── Dockerfile
└── CONTRIBUTING.md

Setup

npm install
cp .env.example .env
npm start

Environment Variables (.env)

  • PORT: service port.
  • DEPLOYMENT_AUTHENTICATION_KEY: required secret key for deploy requests.
  • DEPLOYMENTS_BASE_DIRECTORY: absolute or relative safe deployment root.
  • MAXIMUM_UPLOAD_SIZE_IN_MEGABYTES: request file size cap.
  • IDLE_SHUTDOWN_HOURS: shutdown threshold for inactivity.
  • SAFE_LOGGING_ENABLED: enable/disable safe structured logs.

API and Swagger Documentation

  • Swagger UI: http://localhost:3000/api-docs
  • OpenAPI JSON: http://localhost:3000/api-docs.json
  • Health endpoint: GET /health
  • Deployment endpoint: POST /deploy

Example deployment request:

curl -X POST "http://localhost:3000/deploy" \
  -H "x-deployment-key: ${DEPLOYMENT_AUTHENTICATION_KEY}" \
  -F "path=my-application/current" \
  -F "[email protected]"

Open Source Standards Included

  • MIT License.
  • Contributor guide (CONTRIBUTING.md).
  • Pull request template (.github/pull_request_template.md).
  • Continuous integration workflow for check and package validation.
  • .env.example for secure configuration onboarding.

Docker and Docker Compose

docker build -t remote-deployment-utility .
docker run --env-file .env -p 3000:3000 remote-deployment-utility
docker compose up --build

Publish to npm

Update name and version in package.json, then:

npm run package-preview
npm publish --access public

Automated Checks

npm run check
npm run package-preview

Integration Examples

Detailed integration examples are available in examples/README.md:

  • npm command based deployments.
  • Grunt task deployments.
  • Webpack post-build deployment hooks.
  • GitHub Actions deployment workflow.

Additional Recommended Roadmap Features

  • Role-based deployment permissions and key rotation.
  • Deployment audit history storage (external database or SIEM pipeline).
  • Signed artifact verification before extraction.
  • Canary deployment modes and automatic rollback.
  • Webhook callbacks for deployment completion/failure.
  • Optional policy engine for branch, environment, and artifact rules.

Closing Note

Built with care for developer teams by people who value secure automation and practical operations.

Special thanks to Superbotics and its team for supporting innovation in modern developer tooling. Learn more at https://superbotics.com/.