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

vesto-pm

v1.0.8

Published

High-performance process manager for Node.js applications.

Downloads

1,109

Readme

Vesto (vst)

High-performance and reliable process manager for Node.js applications, written in Go.

Vesto is designed to solve common issues like double-start and high resource consumption (often seen in tools like PM2) by using OS-level locking.

Version

Current NPM package version: 1.0.8

Features

  • Numeric ID system (manage by name or ID)
  • Auto-spawn daemon (runs in the background when needed)
  • Live log streaming (vst logs)
  • Resource guard: automatic restart on RAM limit (max_memory)
  • Smart auto-restart: exponential backoff to prevent CPU runaway
  • Native webhooks with automatic platform detection (Discord / Slack / Telegram)
  • Native Log Rotation (Log Muhafızı): zero-downtime log management
  • Interactive Monitoring (TUI): htop-like live process dashboard via vst monit
  • Windows service support

Installation

npm install -g vesto-pm

Quick Start

Start an application

vst start app.js --name my-app

Start from a folder config

If your current directory has a vesto.yaml, Vesto will load it automatically:

vst start all

List applications

vst list

Monitor logs

vst logs my-app
vst logs 0

Configuration (vesto.yaml)

global_webhook_url: "https://your-webhook-url"
max_log_size: "10MB"
keep_logs: 5
applications:
  - name: test-app
    script: "node test-app.js"
    cwd: "."
    max_memory: "200MB"
    webhook_url: "https://app-specific-webhook-url"
    max_log_size: "20MB" # Optionally override global settings
    keep_logs: 3

Log Rotation (Log Muhafızı)

Vesto features a built-in log rotation system integrated directly into the daemon's log management.

  • The daemon checks the log files of managed applications every 5 minutes.
  • If app.log exceeds max_log_size:
    • app.log is rotated to app.log.1 (previous logs are shifted: .1 -> .2 -> ...).
    • A new empty app.log is created.
    • The oldest files exceeding keep_logs are deleted.
  • Windows Support: To bypass "file in use" errors on Windows, the active log file is closed momentarily, rotated, and reopened. Writing is blocked natively with a sub-millisecond lock, ensuring the application continues running without log loss or downtime.

Notes:

  • Log rotation is disabled if max_log_size is not configured.
  • If max_log_size is set but keep_logs is not specified, it defaults to 5.

Webhooks

Vesto sends webhook notifications asynchronously (non-blocking) for:

  • Crash: when the process exits with an error
  • Memory guard: when the process is restarted due to max_memory
  • Backoff: when exponential backoff is engaged due to frequent crashes

If webhook_url is not set for an app, global_webhook_url is used.

Webhook URL is automatically detected and formatted accordingly:

  • Discord: rich embeds
  • Slack: blocks
  • Telegram: sendMessage payload (requires chat_id query parameter in the URL)

Commands

| Command | Description | |-------|----------| | vst start <name/id/file/all> | Starts an app by name, ID, script file, or all apps from config. | | vst stop <name/id/all> | Stops an app or all. | | vst restart <name/id/all> | Restarts an app or all. | | vst delete <name/id> | Deletes an app from the managed list. | | vst list | Shows status, CPU, and RAM usage. | | vst monit | Interactive process monitor (TUI) with htop-like interface. | | vst logs <name/id> | Live log streaming. | | vst status | Checks if the daemon is active. | | vst kill | Stops the daemon, stops all apps, cleans socket/pid, and exits. | | vst shutdown | Alias for vst kill. | | vst install | Installs Vesto as a Windows service. | | vst uninstall | Uninstalls the Windows service. | | vst service <start|stop|restart> | Controls the Windows service. |

Updating

If you see an EPERM error while updating, the daemon is still running.

vst kill
npm install -g vesto-pm@latest

License

MIT

Author

modloffnew