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

telex-amp

v1.0.1

Published

Lightweight React Native tracking library for performance and error logging with Telex Webhooks

Readme


**react native APM - using Telex ** 📡

Performance & Error Tracking for React Native with Telex Webhook

🚀 Telex Tracker is a lightweight tracking library for React Native, enabling performance monitoring and error tracking via Telex Webhooks. This package dynamically allows users to insert their webhook during installation and update it anytime!


📦 Installation

Run the command below to install the package:

npm install telex-tracker

🔹 After installation, it will prompt you to enter your Telex Webhook URL.

Example Prompt (Postinstall Script)

Enter your Telex Webhook URL: https://your-telex-webhook.com
✅ Telex Webhook Configured! You can change it in telexConfig.js.

📌 Your webhook is saved in telexConfig.js for easy updates.


🛠️ Usage in React Native

1️⃣ Import and Set Your Webhook

You can set and update the webhook dynamically in your app:

import { setTelexConfig, getTelexConfig, trackError, trackPerformance } from "telex-tracker";

// Set webhook dynamically (if not set during install)
setTelexConfig({ webhook_url: "https://your-telex-webhook.com" });

// Get current configuration
getTelexConfig().then(config => console.log("Current Config:", config));

2️⃣ Track Performance

Monitor app load time and execution speed in React Native:

import { trackPerformance } from "telex-tracker";

// Example: Track function execution time
const fetchData = async () => {
    const stopTracking = trackPerformance("fetchData");
    await fetch("https://api.example.com/data");
    stopTracking();
};

3️⃣ Track Errors 🚨

Automatically capture and send app crashes & errors to your Telex webhook:

import { trackError } from "telex-tracker";

// Example: Capture an error
try {
    throw new Error("Something went wrong!");
} catch (error) {
    trackError(error);
}

📌 How to Update Webhook

Your webhook is stored in telexConfig.js. If you need to change it:

  1. Open telexConfig.js
  2. Modify the URL like this:
module.exports = { webhook_url: "https://new-webhook-url.com" };

OR update it dynamically in your code:

setTelexConfig({ webhook_url: "https://new-webhook-url.com" });

🖥️ Screenshots

**Getting Telex Webhook *

To obtain your Telex webhook, follow these steps:

  1. Open telex
  2. Search for **Telex channel and create a channel **
  3. Type /getWebhook
  4. Copy the generated webhook URL and use it in setTelexConfig()

📸 Example Screenshot:
Telex Webhook Setup


💡 Features

Real-time error reporting via Telex Webhooks
Track app performance with custom profiling
Easy webhook setup via setTelexConfig()
Auto setup on install for seamless configuration


📜 License

This package is licensed under the MIT License.


💬 Support

For questions, issues, or contributions, feel free to open an issue or submit a pull request on GitHub. 🚀

🔗 GitHub Repo: Telex Tracker