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

ipl-ticket-watcher

v1.0.3

Published

IPL ticket watcher (RCB-optimized) - Notifies when tickets go live

Readme

🏏 IPL Ticket Watcher (RCB-Optimized)

Default configuration works for RCB tickets, but can monitor any IPL team

Team Configuration

# For RCB (default - no changes needed)
TICKET_URL=https://shop.royalchallengers.com/ticket

# For other teams (example: CSK)
TICKET_URL=https://in.bookmyshow.com/sports/mumbai-indians-ipl-2025/ET00434417
TEAM_NAME=MI

Features

  • Event-driven architecture
  • Multiple notification channels (Email, Discord)
  • Programmatic API
  • CLI interface

Installation

npm install ipl-ticket-watcher

CLI Usage

  1. Create a .env file with your configuration
  2. Run the watcher:
npx ipl-ticket-watcher

Example

const TicketWatcher = require("ipl-ticket-watcher");

// Create watcher instance
const watcher = new TicketWatcher({
  watchInterval: 300000, // 5 minutes
  matchDates: ["April 15", "April 20"],
  ticketUrl: "https://shop.royalchallengers.com/ticket",
  emailConfig: {
    user: "[email protected]",
    pass: "password", //use your app password if 2FA is switched on
    receiver: "[email protected]",
  },
});

watcher
  .on("ticketsAvailable", ({ dates, message }) => {
    console.log("Tickets available for:", dates);
    // add your own logic
  })
  .on("noTickets", ({ time }) => {
    console.log("No tickets at", time);
  })
  .on("error", console.error);

watcher.start();

// watcher.stop();

Events

  • ticketsAvailable: Emitted when tickets are found
  • noTickets: Emitted on each check when no tickets available
  • error: Emitted on scraping errors
  • start: Emitted when watcher starts
  • stop: Emitted when watcher stops

Configuration

Both constructor config and environment variables are supported.