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

@kerala-startup-mission/agenda

v1.0.2

Published

Embeddable agenda widget bundle for Startup Mission event pages.

Readme

Agenda Embed

Embeddable agenda widget bundled as a single browser script.

Install

npm install

Local Development

npm run dev

The repo includes a simple index.html demo page. Point the demo element's data-url and data-agenda values at a working backend.

Build

npm run build

This produces:

dist/agenda-embed.js

The bundle can be used from jsDelivr:

<script src="https://cdn.jsdelivr.net/npm/@kerala-startup-mission/[email protected]/dist/agenda-embed.js"></script>

Or via unpkg:

<script src="https://unpkg.com/@kerala-startup-mission/[email protected]/dist/agenda-embed.js"></script>

Embed Snippet

<div
  data-agenda="huddle-global-2024"
  data-url="https://events.startupmission.in/"
  data-border="border-slate-300"
  data-bg="bg-white"
  data-select="bg-slate-900 text-white border-slate-900"
  data-text="text-slate-900"
  data-round="border-slate-900"
  data-color-1="text-slate-500"
  data-color-2="text-slate-600"
></div>

<script src="https://your-cdn.example.com/agenda-embed.js"></script>

React From npm Package

Install:

npm install @kerala-startup-mission/agenda

Minimal React example:

import { useEffect, useRef } from 'react';
import AgendaEmbed from '@kerala-startup-mission/agenda';

export default function AgendaWidget() {
  const ref = useRef(null);

  useEffect(() => {
    if (ref.current) {
      AgendaEmbed.init(ref.current);
    }
  }, []);

  return (
    <div
      ref={ref}
      data-agenda="huddle-global-2024"
      data-url="https://events.startupmission.in/"
      data-border="border-slate-300"
      data-bg="bg-white"
      data-select="bg-slate-900 text-white border-slate-900"
      data-text="text-slate-900"
      data-round="border-slate-900"
      data-color-1="text-slate-500"
      data-color-2="text-slate-600"
    />
  );
}

Use a dedicated container element and let the widget own everything inside that node after initialization.

Required Attributes

  • data-agenda: event slug or ID
  • data-url: API base URL

Optional Attributes

  • data-border
  • data-bg
  • data-select
  • data-text
  • data-round
  • data-color-1
  • data-color-2

These map directly to the widget's current class-based visual props.

Runtime API

The script auto-initializes all [data-agenda] elements on page load.

It also exposes:

window.AgendaEmbed.init();
window.AgendaEmbed.init(rootElement);

Use init() to scan the whole document again, or pass a container/root element to initialize newly inserted agenda nodes in dynamic pages.

Notes

  • The default build is self-contained. No extra stylesheet link is required.
  • The backend contract remains ${data-url}/api/event/${data-agenda}/agenda/venue.