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

aipres

v0.4.0

Published

LLM-powered interactive Reveal.js presentation builder

Readme

aipres

Chat with Claude to build Reveal.js presentations — output is a single self-contained HTML file.

Install

npm install -g aipres

Node.js 20+ required.

Quick start

# Set your Anthropic API key
aipres config set llm.apiKey sk-ant-...

# Start chatting (with live preview)
aipres
> Make a 5-slide presentation about the history of the internet
> Add a two-column slide comparing IPv4 and IPv6
> Change the transition to fade
> /export

Commands

| Command | Description | |---|---| | aipres | Start chat with live preview server | | aipres chat | Start interactive chat (no preview server) | | aipres preview | Live preview in browser with hot reload | | aipres export [file] | Export to presentation.html | | aipres theme list | List installed themes | | aipres theme add <path> | Import a theme directory | | aipres theme new <name> | Create a new theme | | aipres theme edit | Edit current theme with LLM assistance | | aipres theme delete <name> | Delete a theme | | aipres reset | Clear current slides | | aipres config list | Show all settings | | aipres config get <key> | Get a setting value | | aipres config set <key> <value> | Change a setting | | aipres config reset | Reset all settings to defaults |

Most commands accept -w <path> / --work-dir <path> to specify the session directory (defaults to the current directory).

Chat slash commands

| Command | Description | |---|---| | /export [file] | Export current slides | | /summary | List current slides | | /reload | Reload slides from disk (pick up external edits) | | /reset | Clear slides | | /help | Show available commands | | /quit | End session |

Configuration

aipres config set llm.provider  anthropic       # LLM provider (anthropic, openai, copilot, local)
aipres config set llm.apiKey    sk-ant-...       # API key for the selected provider
aipres config set llm.model     claude-opus-4-6  # Model name
aipres config set llm.language  en               # Response language (BCP 47)
aipres config set preview.port  3000             # Preview server port

The API key is stored in ~/.aipres/credentials.json with mode 0600 (owner-readable only).

Environment variables

| Variable | Description | |---|---| | ANTHROPIC_API_KEY | Anthropic API key (overrides stored key) | | OPENAI_API_KEY | OpenAI API key | | GITHUB_TOKEN | GitHub Copilot token | | AIPRES_PROVIDER | LLM provider override | | AIPRES_MODEL | Model override | | AIPRES_LANGUAGE | Language override | | AIPRES_BASE_URL | Custom API base URL override |

LLM providers

| Provider | llm.provider | API key source | |---|---|---| | Anthropic (default) | anthropic | ANTHROPIC_API_KEY | | OpenAI | openai | OPENAI_API_KEY | | GitHub Copilot | copilot | GITHUB_TOKEN | | Local (Ollama etc.) | local | none required |

For OpenAI-compatible endpoints, set llm.baseUrl to the API base URL.

Themes

Themes live in ~/.aipres/themes/. A theme directory contains:

my-theme/
├── theme.json   # theme metadata
└── custom.css   # custom styles
aipres theme new my-theme          # create a new theme
aipres theme edit                  # edit the current theme interactively
aipres theme add ./my-theme        # import an existing theme directory
aipres config set theme my-theme   # switch to a theme

License

MIT