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

@gopaljigaur/accli

v1.2.4

Published

Apple Calendar CLI for macOS - manage calendars and events from the command line

Downloads

812

Readme

accli

npm clawhub skill

Apple Calendar CLI for macOS — manage calendars and events from the command line (via JXA + EventKit).

Install

npm i -g @gopaljigaur/accli

OpenClaw skill:

clawhub install accli-plus

Quick start

accli setup
accli calendars
accli events --calendar-name "Work" --from 2025-01-01 --to 2025-01-31

Permissions (macOS)

On first run, you may need to grant Calendar access.

  1. Run accli setup
  2. In System Settings → Privacy & Security → Calendars, ensure the responsible app (often osascript and/or your terminal) has Full Access (not “Add Only”).

Commands

  • setup — trigger macOS Calendar permission prompt
  • calendars — list calendars
  • events — list events in a range
  • event — fetch a single event by ID (includes alerts in output)
  • create — create an event (supports --alert, --recur, etc.)
  • update — update an event (supports --dry-run)
  • delete — delete an event (supports --dry-run)
  • search — search events across all calendars
  • export — export all events from all calendars
  • freebusy — show busy time slots
  • config — set/show/clear default calendar

Run accli <command> --help for command-specific options.

Alerts

Set one or more alerts on create or update using --alert <minutes> (minutes before event start). Repeatable.

accli create Home --summary "Standup" --start 2025-01-15T09:00 --end 2025-01-15T09:30 --alert 5 --alert 15
accli update Home <event-id> --alert 5 --alert 10

--alert on update replaces all existing alerts. Omit to leave alerts unchanged. The accli event command now includes alerts in its output.

Note: iCloud calendars preserve multiple alerts. Google Calendar via CalDAV syncs only one.

Search

Search events across all calendars in a date range using a case-insensitive query matched against summary, location, and description.

accli search --query "standup" --from 2025-01-01 --to 2025-01-31
accli search --query "meeting" --calendar-id "ABC123" --json

Export

Export all events from all calendars (or a subset) in a date range. Output is grouped by calendar.

accli export --from 2025-01-01 --to 2025-12-31 --json
accli export --from 2025-01-01 --to 2025-03-31 --calendar-id "ABC123"

Dry Run

Use --dry-run on delete or update to preview what would happen without making any changes.

accli delete Work <event-id> --dry-run
accli update Work <event-id> --summary "New title" --dry-run --json

Recurring Event Scope

Use --span on delete or update to control which occurrences of a recurring event are affected.

  • --span this (default) — only this occurrence
  • --span future — this and all future occurrences
  • --span all — all occurrences (deletes/updates the entire series)
accli delete Work <event-id> --span all
accli update Work <event-id> --summary "Renamed" --span future

Recurring Events

Create recurring events using --recur on the create command. Supported frequencies: daily, weekly, monthly, yearly.

accli create Work --summary "Weekly sync" --start 2025-01-15T10:00 --end 2025-01-15T11:00 --recur weekly
accli create Work --summary "Daily standup" --start 2025-01-15T09:00 --end 2025-01-15T09:30 --recur daily --recur-count 20
accli create Personal --summary "Birthday" --start 2025-06-01 --end 2025-06-01 --all-day --recur yearly --recur-end 2030-01-01
  • --recur-count <n> — stop after N occurrences
  • --recur-end <date> — stop on or before the given date (YYYY-MM-DD)
  • Both --recur-end and --recur-count require --recur to be set

JSON output

Add --json to most commands to output JSON (including errors).

Agent-Ready

Designed for coding agents and automation: structured --json output on all commands, distinct exit codes (0=success, 1=runtime, 2=validation, 10=auth), machine-readable error codes, and persistent calendar IDs for reliable targeting.

Notes

  • macOS only (darwin), because it uses osascript + EventKit.
  • Config path defaults to ~/.acclirc but can be overridden via ACCLI_CONFIG_PATH (or ACCLI_HOME).

Forked from joargp/accli.