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

calendar-tetris

v0.1.0

Published

Play Tetris in Apple Calendar

Readme

📅 Calendar Tetris

Play Tetris in Apple Calendar.

5-Column mode with HUD off. Run with npx calendar-tetris --5-col --no-hud

Run

Run the CLI and follow the instructions to get started. Calendar Tetris requires macOS.

npx calendar-tetris

Control Calendar Tetris by entering keys into your terminal.

[!WARNING] Calendar Tetris requires permission to control your calendar. It creates and uses its own calendars and should never affect your existing calendars. Nonetheless, if you have important information in your calendar, proceed with caution.

Modes

Default mode of 10 columns with HUD. Run with npx calendar-tetris

--no-hud

You can hide the HUD (Hold, Up Next, and the header) with the --no-hud flag.

npx calendar-tetris --no-hud

--5-col

You can play a modified 5-column version of Tetris with the --5-col flag. It has the I (3-cell), Domino (2-cell), L, T, S, and Z pieces. This mode has better performance since there are fewer events being created and edited.

npx calendar-tetris --5-col

Cleanup

Calendar Tetris should automatically clean up any Calendars created during the game.

However, if the process was force-quit before automatic cleanup completed, run:

npx calendar-tetris cleanup

Cleanup should only ever remove game calendars created by Calendar Tetris. You can also safely manually perform cleanup by deleting calendars whose names start with __CALENDAR_TETRIS__*.

How Does it Work?

Calendar Tetris controls your calendar with AppleScript and EventKit. By creating calendars for every color needed, Calendar Tetris can create and edit events in the proper-colored calendars to turn events into Tetris blocks falling down your calendar.

Development

npm install
npm test

The test suite compiles every AppleScript without launching or contacting Calendar.