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

aaspai-schedkit

v0.1.0

Published

Universal scheduler & reminders with time zones, natural language, cron, RRULE. Express/Nest adapters + Mongo storage.

Downloads

4

Readme

schedkit-universal

Scheduling & Reminders you can reuse anywhere (NestJS, Express, any Node app). Supports:

  • Time zones (IANA via Luxon)
  • Natural language (tomorrow 9am IST, in 15 minutes) via Chrono
  • Cron (*/5 * * * *) via cron-parser
  • RRULE (FREQ=DAILY;BYHOUR=9;BYMINUTE=0;BYSECOND=0;TZID=Asia/Kolkata)
  • One-shot reminders & recurring schedules
  • Webhook dispatch + programmatic handlers
  • Storage adapters: in-memory and MongoDB
  • Express/Nest adapters, CLI worker

Install

npm i schedkit-universal luxon rrule cron-parser chrono-node mongodb

Define and run

import { createScheduler, MongoStorage } from "schedkit-universal/core";
import { MongoClient } from "mongodb";

const client = new MongoClient(process.env.MONGO_URI!);
await client.connect();
const storage = new MongoStorage(client.db(process.env.MONGO_DB));

const scheduler = createScheduler({
  storage,
  defaultTz: "Asia/Kolkata",
  dispatch: async (job) => {
    // YOUR handler: send email / push / whatever
    console.log("Reminder fired:", job.name, job.payload);
  }
});

scheduler.start(); // background tick

Create reminders (Express)

import express from "express";
import { createScheduleRouter } from "schedkit-universal/express";
const app = express();
app.use(express.json());
app.use("/api/schedule", createScheduleRouter(scheduler));

POST /api/schedule/jobs

{
  "name": "Daily standup",
  "tz": "Asia/Kolkata",
  "rrule": "FREQ=WEEKLY;BYHOUR=10;BYMINUTE=0;BYSECOND=0;BYDAY=MO,TU,WE,TH,FR",
  "payload": { "room": "huddle-1" }
}

or natural language

{ "name": "Hydrate!", "nlp": "in 20 minutes", "tz": "Asia/Kolkata" }

or cron

{ "name": "Nightly job", "cron": "0 2 * * *", "tz": "UTC" }

CLI

# run a worker loop using Mongo
npx schedkit worker --uri "$MONGO_URI" --db mydb --tz "Asia/Kolkata"

# schedule via CLI (natural language)
npx schedkit schedule --name "Demo" --nlp "tomorrow 9am" --tz "Asia/Kolkata"

Notes

  • DST-safe (RRULE/Luxon). For cron, we evaluate in the specified TZ each tick.
  • Misfire protection via short lease; jobs won’t double-fire in multi-process setups (Mongo storage).
  • You can export ICS later; extend dispatch to email/calendar.

MIT