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

@officedesk/plugin-google-calendar

v0.0.10

Published

Google Calendar integration plugin for officedesk-ai

Downloads

845

Readme

@officedesk/plugin-google-calendar

Google Calendar integration plugin for OfficeDesk AI. Manages calendars and events across multiple Google Calendar account profiles.

Installation

npm install -g @officedesk/plugin-google-calendar

Quick start

# Authenticate your Google account
officedesk-plugin-google-calendar login

# List your calendars
officedesk-plugin-google-calendar list-calendars

# List events on the primary calendar
officedesk-plugin-google-calendar list-events --calendar-id=primary

Configuration

Token files are stored under OFFICEDESK_HOME (defaults to ~/.officedesk/):

| Path | Description | |---|---| | $OFFICEDESK_HOME/plugins/plugin-google-calendar/tokens/token-set.json | Default account token | | $OFFICEDESK_HOME/plugins/plugin-google-calendar/tokens/token-set.<profile>.json | Named profile token |

CLI reference

officedesk-plugin-google-calendar <command> [options]

login

Authenticate a Google Calendar account via the browser OAuth flow.

officedesk-plugin-google-calendar login
officedesk-plugin-google-calendar login --profile=work

list-profiles

List all configured Google Calendar profiles.

officedesk-plugin-google-calendar list-profiles

Returns JSON describing every detected default or named profile and whether each one has a token file.

list-calendars

List all calendars accessible to the authenticated account.

officedesk-plugin-google-calendar list-calendars
officedesk-plugin-google-calendar list-calendars --profile=work

list-events

List events for a calendar.

officedesk-plugin-google-calendar list-events --calendar-id=primary
officedesk-plugin-google-calendar list-events --calendar-id=primary --max=25 --profile=work

Options

| Flag | Description | |---|---| | --calendar-id=ID | (Required) Calendar ID (primary for the main calendar) | | --max=N | Maximum number of events to return | | --profile=NAME | Named profile to use |

create-event

Create a new calendar event.

officedesk-plugin-google-calendar create-event \
  --calendar-id=primary \
  --summary="Team Sync" \
  --start="2026-04-17T10:00:00" \
  --end="2026-04-17T11:00:00"

Options

| Flag | Description | |---|---| | --calendar-id=ID | (Required) Calendar ID | | --summary=TEXT | (Required) Event title | | --start=DATETIME | (Required) Start date-time (ISO 8601) | | --end=DATETIME | (Required) End date-time (ISO 8601) | | --profile=NAME | Named profile to use |

delete-event

Delete a calendar event.

officedesk-plugin-google-calendar delete-event --calendar-id=primary --event-id=EVENT_ID
officedesk-plugin-google-calendar delete-event --calendar-id=primary --event-id=EVENT_ID --profile=work

free-busy

Query free/busy availability for a calendar.

officedesk-plugin-google-calendar free-busy --calendar-id=primary

Multiple profiles

officedesk-plugin-google-calendar login
officedesk-plugin-google-calendar login --profile=work

officedesk-plugin-google-calendar list-events --calendar-id=primary --profile=work

Environment variables

| Variable | Description | |---|---| | OFFICEDESK_HOME | Base directory for tokens and config (default: ~/.officedesk/) |

License

This project is licensed under a proprietary End User License Agreement (EULA). See the LICENSE file for details.