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

claude-auto-continue

v1.0.40

Published

Automatically resumes Claude Code sessions after usage limits reset

Downloads

3,551

Readme

claude-auto-continue

Automatically resumes Claude Code sessions after usage limits reset — no manual babysitting.

npm version Node.js >=18 License: ISC

Claude Code pauses with a "usage limit reached" message and a reset timestamp. Instead of watching and waiting, claude-auto-continue wraps Claude Code in a pseudo-terminal, monitors all output for rate-limit messages, parses the exact reset timestamp, shows a live status bar and countdown timer, then sends continue automatically at reset time. Leave it running overnight; it resumes by itself.

Install

npm install -g claude-auto-continue

Usage

claude-auto-continue          # start — launches 'claude' automatically
clac                          # short alias
clac -- --continue            # pass flags through to Claude Code

All arguments after -- are forwarded directly to claude. For example, clac -- --resume passes --resume to Claude Code.

Prerequisites

claude-auto-continue depends on node-pty, a native addon that compiles during install. Build tools must be present.

Linux (Debian/Ubuntu):

sudo apt-get install build-essential python3 make g++

macOS: Xcode Command Line Tools are usually pre-installed. If not:

xcode-select --install

Windows: windows-build-tools may be required. Install via an elevated PowerShell:

npm install --global windows-build-tools

Node.js >= 18 is required.

How It Works

  1. Wraps claude in a pseudo-terminal (PTY) so it receives a real TTY — required for interactive operation
  2. Monitors all output with a regex-based pattern detector that strips ANSI codes and uses a rolling buffer
  3. Parses the reset timestamp from the rate-limit message when a usage limit is detected
  4. Displays a status bar and centered countdown card in the terminal while waiting
  5. Sends continue to the PTY at reset time, automatically resuming the session
  6. Returns to monitoring — handles multiple rate limits in a single session

License

ISC