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

@yurug-js/srit

v1.4.1

Published

Speed Read It! - A command line tool to speed read any text

Readme

Speed Read It!

npm version License: MIT

A command line tool to speed read any text using RSVP (Rapid Serial Visual Presentation).

demo

Installation

npm i -g @yurug-js/srit

Requires Node.js 18 or higher.

Features

  • Read text, markdown, PDF, Word documents (.doc/.docx), and web pages
  • Adjustable reading speed (words per minute)
  • Median letter highlighting for optimal eye fixation
  • Progress bar showing position in text
  • Pipe mode for reading from stdin
  • AI-powered adaptive pacing (slows on complex words)
  • AI-powered comprehension testing

Usage

srit document.txt          # Plain text file
srit article.md            # Markdown (rendered to plain text)
srit report.pdf            # PDF document
srit paper.doc             # Word document
srit paper.docx            # Word document (modern format)
srit https://example.com   # Web page
cat file.txt | srit -      # Read from stdin

The terminal clears and displays one word at a time, centered on screen. The median letter is highlighted in red to provide an optimal fixation point. Punctuation introduces a brief pause for natural reading rhythm.

Keyboard Controls

| Key | Action | |-----|--------| | | Previous word | | | Next word | | | Increase speed | | | Decrease speed | | Esc | Exit |

Adaptive Pacing Mode

Let AI adjust your reading speed based on text complexity:

demo-auto

srit --auto document.txt

Uses LLM token surprisal to slow down on complex or unusual words, with a smooth "halo" effect around surprising content. Results are cached for instant re-runs.

| Option | Description | |--------|-------------| | --gamma N | Slowdown intensity (0.0-2.0, default: 0.6) | | --target-wpm N | Base target WPM (default: 360) | | --max-cost N | Cost threshold before confirmation (default: $1) |

Controls: +/- adjust gamma, / adjust speed.

Comprehension Check Mode

Test your reading comprehension with AI-generated questions:

demo-check

srit --check document.txt

Questions appear throughout your reading, placed at sentence boundaries to avoid interrupting the flow. Answer with number keys (1-4). At the end, you'll see your score and total reading time.

| Option | Description | |--------|-------------| | --questions N | Number of questions (default: 10) | | --frequency N | Target words between questions |

API Keys

Both --auto and --check modes require an LLM provider.

Cloud providers (require API key):

export OPENAI_API_KEY=sk-...
export ANTHROPIC_API_KEY=sk-ant-...
export GEMINI_API_KEY=...

Local with Ollama (free, no API key):

srit --auto --provider ollama document.txt

Requires Ollama running locally. Set OLLAMA_HOST to override the default http://localhost:11434.

Additional options: --provider NAME and --model NAME to override defaults.

Configuration

Settings are stored in ~/.srit.json:

{
  "wpm": 300,
  "highlightColor": "red",
  "textColor": "white"
}

Available colors: black, red, green, yellow, blue, magenta, cyan, white.

Other Options

srit --version    # Show version number
srit --help       # Show help (use -h)

License

MIT

Philosophy

This program follows the KISS principle: it does one specific thing and aims to do it right, with minimal dependencies and clear semantics. Contributions are welcome as long as they adhere to this philosophy!