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

@joargp/accli

v2.0.0

Published

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

Readme

accli

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

Install

npm i -g @joargp/accli

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
  • create — create an event
  • update — update an event
  • delete — delete an event
  • freebusy — show busy time slots
  • config — set/show/clear default calendar

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

JSON output

Operational commands emit pretty-printed JSON by default, including errors (to stdout). Use --compact for single-line JSON. --json remains accepted as a backward-compatible no-op.

Use --human for the original human-readable output. Human errors are written to stderr, and interactive setup and config set-default selection are only enabled with this flag. When --human is combined with --compact or --json, --human wins. --help and --version always use plain text.

Date ranges

Date-only --from and --to values are parsed at local midnight. For example, --from 2026-02-27 --to 2026-02-28 covers February 27 only. To include all of February 28 too, use --to 2026-03-01 or pass an explicit end time.

Agent-Ready

Designed for coding agents and automation: structured JSON output on all operational 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).