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

strapi-health-plugin

v1.2.2

Published

A Strapi plugin for supporting Kubernetes health checks and monitoring

Readme

Strapi Health Plugin

npm version license npm total downloads PRs Welcome GitHub stars Last Commit

A lightweight Strapi plugin that provides health check endpoints for monitoring and Kubernetes readiness/liveness probes.

Features

  • ✅ Simple health endpoint at /health
  • ✅ Returns uptime, status, and timestamp
  • ✅ Perfect for Kubernetes readiness/liveness probes
  • ✅ Zero configuration required
  • ✅ Minimal performance impact

Installation

npm install strapi-health-plugin

After installation, rebuild your Strapi application:

npm run build
# or
strapi build

Usage

Once installed, the plugin automatically exposes a health endpoint at:

GET /health

Response Format

{
  "uptime": 19122.561740091,
  "message": "OK",
  "timestamp": 1696513452150
}
  • uptime: Process uptime in seconds
  • message: Status message ("OK" when healthy)
  • timestamp: Current timestamp in milliseconds

Kubernetes Configuration

Readiness Probe

readinessProbe:
  httpGet:
    path: /health
    port: 1337
  initialDelaySeconds: 30
  periodSeconds: 10

Liveness Probe

livenessProbe:
  httpGet:
    path: /health
    port: 1337
  initialDelaySeconds: 60
  periodSeconds: 30

Docker Health Check

HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
  CMD curl -f http://localhost:1337/health || exit 1

Troubleshooting

Plugin Not Loading

  1. Ensure you've run npm run build after installation
  2. Check that the plugin is listed in your package.json dependencies
  3. Restart your Strapi application

Endpoint Not Accessible

  1. Verify your Strapi server is running
  2. Check if custom middleware is blocking the endpoint
  3. Ensure no conflicting routes exist

Permission Issues

The health endpoint is publicly accessible by default. If you need to restrict access, you can modify the route configuration in your Strapi application.

Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting PRs.

Releases

This project uses Changesets for automated releases:

npm run changeset  # Add changeset after changes
git push           # Triggers release PR

Security

For security concerns, please see our Security Policy.

License

MIT © Remi Kristelijn

Support


Made with ❤️ for the Strapi community