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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@dilapidated-penguin/cubetimer

v1.1.1

Published

fast and lightweight CLI timer for speedcubing. Track your solves, get random scrambles, and analyze your times

Readme

🧩 CubeTimer

TypeScript Node.js

A fast and lightweight CLI timer for speedcubing. Generate random scrambles and track your solves and analyze your times.

🚀 Features

  • ✅ Accurate Timer - Spacebar activated timer
  • ✅ Scramble Generator – Provides scrambles for 2x2-7x7, Megaminx, Pyraminx, Skewb, Square-1, and Clock.
  • ✅ Session Statistics – Tracks mean, average of 5/12, best/worst times, and standard deviation.

📦 Installation

Prerequisites

  • Requires Node.js v16+.

Install via npm

npm install -g @dilapidated-penguin/cubetimer

Run in Local Development

git clone https://github.com/Dilapidated-Penguin/speedcubing-timer-cli.git
cd cubetimer
npm install
npm start

🎯 Usage

Start a Timer

cubetimer start

Hold down the spacebar to prime the timer, release it to start and tap the spacebar again to stop the timer

Other commands

Below are some of the other commands and a brief explanations for what each does

  • Scramble [number] [length]: Generate either 1 or the specified number of scrambles of the requested format. The command will default to the scramble length in the settings
  • graph [option] : Generate a graph of the specified property(Eg. graphing the mean of the sessions)
  • metronome [bpm]: Begins a metronome between for any bpm specified between 3 and 180 bpm
  • show-session : View previous solve sessions and a list of each solve

🔨 Development

Build TypeScript

npm run build

🛠️ Dependencies

  • @futpib/node-global-key-listener – Global key listening for timing functionality.
  • chalk – Terminal styling.
  • keypress – Key event handling.
  • scrambow – Scrambow is used for scramble generation and so the question of whether this cli supports an event is implicitly the question of whether scrambow supports the event.
  • nice-table - for rendering tables in the console with a clean and structured format.
  • cfonts - ANSI fonts

Known Issues

🔴 Key listening continues to listen when the window is out of focus

  • Description: Key listener used in the timer will continue to the key events even when user is in another window Status: ✅ Fixed in v1.0.6

🔴 Solve Labelling

  • Description: Pressing e in solve mode multiple times will make multiple prompts to label the last solve Status: ✅ Fixed in v1.0.34

📜 License

This project is licensed under the MIT License.


🚧 Note: This project is very much still in development. Expect updates and new features! 🚀