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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@apitraffic/strapi

v0.1.2

Published

Sends all API request/response data to ApiTraffic for logging and workflow triggering.

Downloads

440

Readme

ApiTraffic helps engineering teams save development time so they can ship features faster.

Features

  • API Monitoring & Observablity
  • API Integrations (Workflow Engine)
  • Supported Integrations

How ApiTraffic Works

Once you’ve installed the ApiTraffic plugin into your Strapi app, each request/response will be sent to the ApiTraffic, processed, and will then appear within the desired bucket.

From within your ApiTraffic account you will see real-time requests to your API, API analytics, the load size of the response, etc. Additionally, multi-step workflows can be created that will trigger based on the request data. This enables developers to integrate with over 240 applications without adding any additional code or logic to their Strapi application.

Visit our knowledgebase for the complete documentation.

Security

Redacting Data

Data can be redacted either before it leaves your server or once it arrives to ApiTraffic for processing. Data redaction settings do not require any code changes as all configuration is done within your ApiTraffic account and pushed down to each connected server.

Learn more about redacting data.

Request Exclusions

Exclusions can be configured in cases where certain endpoints should not be logged. Like data redactions (above), no integration specific changes are required to exclude request that match a certain criteria.

Learn more about excluding requests.

Get Started

Add ApiTraffic to your Strapi application quickly by following these steps:

An active ApiTraffic account is required to connect Strapi to ApiTraffic. Please create a free trial if you do not already have an account.

1. Install the Plugin

IMPORTANT: Node 18+ required.

npm i @apitraffic/strapi --save

2. Add to Middlewares Configuration

The middleware must be added to the config/middlewares.js file.

module.exports = [
  //...
  'plugin::apitraffic.apitraffic',
]

3. Configuration

Once installed, 2 environment variables must be added which tell the plugin where to send the data. These variables can either be added to the .env file or set in the same way other environment variables are being set.

| Environment Variable | Required | Type | Details | |---|:---:|---|---| | API_TRAFFIC_TOKEN | Yes | String | Ingest token provided from your ApiTraffic account. | | API_TRAFFIC_BUCKET | Yes | String | The bucket the data should be sent to when ingested. |

Community

To get started: Star & watch this repository to stay updated on the latest changes.

Follow us on our Blog and on X.

Chat with the ApiTraffic team and other memebers on Discord and follow our tutorials and other videos on YouTube.

ApiTraffic Discord

ApiTraffic YouTube

ApiTraffic on X

How to contribute

Here are some ways you can help improve ApiTraffic:

  • Give ApiTraffic a try and share your feedback to help make ApiTraffic even better for you. Feel free to reach out to us on Discord!
  • Join our Discord to connect with other members, share your experiences, and learn from one another.
  • Submit a pull request to any of our open source repositories. Be sure to review the contribution guide in the repository for detailed instructions on how to get started. We’re excited to see your contributions!