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

@mirage-cli/ics-cli

v0.1.9

Published

Read and query ICS / iCal calendar feeds. Today, this week, next N events. Mirage / Cloudflare-Worker compatible.

Downloads

467

Readme

ics-cli

A fast CLI tool for reading ICS (iCalendar) feeds from URLs or local files. Outputs events as plain text tables or JSON. Built with Bun and compiled to a standalone binary — no runtime required.

Designed for both human use and AI agent consumption (includes a Claude Code skill definition).

Installation

From GitHub Releases

Download the pre-built binary for your platform from Releases, then:

chmod +x ics-cli-*
mv ics-cli-* /usr/local/bin/ics-cli

From Source

bun install
bun run build  # produces ./ics-cli binary

Quick Start

# Save a calendar
ics-cli add work "https://calendar.google.com/calendar/ical/YOUR_CALENDAR/basic.ics"

# View today's schedule
ics-cli today

# Get this week's events as JSON (for scripts/AI)
ics-cli week --json

# Next 5 upcoming events
ics-cli next

# Query a date range
ics-cli events --from 2026-03-01 --to 2026-03-31

Commands

| Command | Description | |---|---| | ics-cli add <name> <url> | Save a calendar URL with a name | | ics-cli list [--json] | List saved calendars | | ics-cli remove <name> | Remove a saved calendar | | ics-cli today [--json] | Today's events | | ics-cli week [--json] | This week's events (Mon–Sun) | | ics-cli next [-n N] [--json] | Next N upcoming events (default 5) | | ics-cli events [options] | Query events with filters |

Event Query Options

All event commands (events, today, week, next) support:

  • -c, --calendar <name> — Query a specific saved calendar
  • -u, --url <url> — Query an ad-hoc ICS URL (not saved)
  • --json — Output as JSON array
  • -n, --limit <n> — Limit number of results

The events command additionally supports:

  • --from <YYYY-MM-DD> — Start date filter
  • --to <YYYY-MM-DD> — End date filter

If no -c or -u is specified, all saved calendars are queried.

JSON Output

With --json, events are output as an array of objects:

[
  {
    "summary": "Team Standup",
    "start": "2026-03-01T14:00:00.000Z",
    "end": "2026-03-01T14:15:00.000Z",
    "location": "",
    "description": "",
    "uid": "[email protected]",
    "allDay": false,
    "calendar": "work"
  }
]

All-day events use date-only format for start/end (e.g., "2026-03-01").

Config

Calendars are stored in ~/.config/ics-cli/config.json. No credentials or API keys are required — ICS feed URLs contain their own authentication tokens.

Claude Code Skill

The claude-skill/SKILL.md file can be used as a Claude Code skill to let Claude query your calendar. Copy it to your skills directory to enable natural language calendar queries.

License

MIT