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

webhook-testing-tool

v1.0.0

Published

A modern, secure, and user-friendly tool for testing webhook endpoints

Readme

🚀 Webhook Testing Tool

Version License Status

A modern, secure, and user-friendly tool for testing webhook endpoints

Webhook Testing Tool Demo

✨ Features

  • 🔄 Multiple Request Formats - Test webhooks using JSON, Form Data, or URL Encoded formats
  • 🛡️ Security-Focused - Built with robust security measures to prevent common vulnerabilities
  • 🎨 Modern UI/UX - Dark-themed, responsive interface with intuitive controls
  • ⚡ Real-time Feedback - Instant response visualization with color-coded status indicators
  • 📋 Easy Copy - One-click response copying for sharing or documentation
  • 📱 Fully Responsive - Works seamlessly across desktop, tablet, and mobile devices

📋 Table of Contents

🚀 Installation

Option 1: Download and Run Locally

# Clone the repository
git clone https://github.com/yourusername/webhook-testing-tool.git

# Navigate to project directory
cd webhook-testing-tool

# Open in your browser
open index.html  # macOS
xdg-open index.html  # Linux
start index.html  # Windows

Option 2: Use CDN (Coming Soon)

Include the tool directly in your project:

<link rel="stylesheet" href="https://cdn.example.com/webhook-testing-tool/style.css">
<script src="https://cdn.example.com/webhook-testing-tool/script.js"></script>

🔍 Usage

  1. Select Your Request Format

    • Choose between JSON, Form Data, or URL Encoded formats
  2. Enter Your Webhook URL

    • Input the endpoint you want to test
  3. Customize Your Payload

    • JSON: Write or paste your JSON data
    • Form Data / URL Encoded: Fill in the form fields
  4. Send Your Request

    • Click the "Send" button to make the request
  5. View Response Details

    • Examine status code, headers, response body, and timing
    • Copy the response with a single click

🔒 Security Features

The Webhook Testing Tool is built with security as a priority:

  • 🛡️ Content Security Policy (CSP) - Prevents XSS attacks
  • 🔍 URL Validation - Ensures only valid URLs are processed
  • 🧹 Input Sanitization - Prevents injection attacks
  • ⏱️ Request Timeout - Avoids indefinite hanging connections
  • 🔄 CORS Handling - Manages cross-origin requests properly
  • ✂️ Secure Clipboard Implementation - Safely handles clipboard operations

⚙️ Configuration

Custom Default Settings

Edit the script.js file to configure default settings:

const defaultWebhookUrl = 'https://your-default-webhook.com/endpoint';

Custom Styling

The tool uses CSS variables for easy theming. Edit the :root section in style.css:

:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --accent-primary: #2962ff;
    /* ... other variables */
}

📚 API Reference

HTTP Methods Supported

  • POST - Currently the tool focuses on POST requests which are most common for webhooks

Content Types

  • application/json - For JSON payloads
  • multipart/form-data - For Form Data submissions
  • application/x-www-form-urlencoded - For URL encoded data

👥 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by Tonny Gitonga