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

@shaankhosla/repeat

v0.0.24

Published

Spaced repetition, in your terminal

Readme

repeat

repeat is a command-line flashcard program that uses spaced repetition to boost your memory retention. It’s like a lightweight, text-based Anki you run in your terminal. Your decks are kept in Markdown, progress is tracked in SQLite, and reviews are scheduled with Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall.

Features

  • Cards live in .md files, so edit them using your favorite markdown editor, back them up with version control, and let them live alongside regular notes.
  • Progress is tracked with a hash of the card content, so edits automatically reset their progress.
  • Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall, automatically schedules reviews for you.
  • Terminal UX: repeat drill renders cards with ratatui; repeat create launches an editor dedicated to card capture; repeat check displays progress at a glance.
  • Inline media support: reference local images/audio/video inside your decks and open them from a drill session without leaving the terminal.
  • Import from Anki: convert .apkg exports into Markdown decks with repeat import so you can bring your existing collection along.

Documentation

Installation, quick-start, and usage guides now live in the documentation.

Installation

Install script (Linux & macOS) - Recommended

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/shaankhosla/repeat/releases/latest/download/repeat-installer.sh | sh

Homebrew (macOS)

brew tap shaankhosla/homebrew-tap
brew install repeat

Windows (PowerShell)

irm https://github.com/shaankhosla/repeat/releases/latest/download/repeat-installer.ps1 | iex

npm

npm install @shaankhosla/repeat

Quick Start

  1. Create a deck in Markdown (cards/neuro.md):

    You can put your normal notes here, `repeat` will ignore them.
    Once a "Q:,A:,C:" block is detected, it will automatically
    turn it into a card.
    
    Q: What does a synaptic vesicle store?
    A: Neurotransmitters awaiting release.
    
    ---
    Use a separator to mark the end of a card^
    Then feel free to go back to adding regular notes.
    
    C: Speech is [produced] in [Broca's] area.
  2. Index the cards and start a session:

    repeat drill cards
    • Space/Enter: reveal the answer or cloze.
    • O: open the first media file (image/audio/video) referenced in the current card before revealing the answer.
    • 1: mark as Fail, 2: mark as Pass.
    • Esc or Ctrl+C: end the session early (progress so far is saved).