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

@reboslides/react

v0.7.0

Published

The slide studio as a React component, or as headless hooks for an interface of one's own, with collaboration in both.

Readme

ReboSlides

A presentation design studio for the browser, with the look of the Rebo suite (light and dark): slides with freely placed text, shapes and images, themes and templates, full-screen presenting, and export to vector PDF and PNG. The interface is in English and Spanish.

The text in each box is laid out by the rebodocs engine: the same paragraphs, lists, fonts and measurements as a DOCX, fitted to the width of the box with layoutContinuous. The caret, the selection and the point under the pointer come from that same layout (caretRect, selectionRects, hitTest), and editing uses its operations (insertText, splitParagraph, deleteRange, applyRunProps, toggleList…). What belongs to slides (positions, rotation, shapes, images, layers, templates) is ReboSlides' own.

Packages

| Package | What it is | | --- | --- | | @reboslides/core | The engine, with no DOM: the deck and its slides, the elements and their changes (immutable, including scaling a group), text laid out by @rebodocs/core, shape outlines, themes, the vector PDF and the .reboslides file. | | @reboslides/editor | The studio, with no framework: the slide drawn on a canvas, moving, resizing (also as a group) and rotating with alignment guides, in-place text editing, the assets panel, the properties panel, the page strip, undo, presenting and exporting. | | @reboslides/react | The studio as a React component (SlideStudio), or headless hooks for an interface of your own (SlidesProvider, useSlides, SlidesSurface, SlideThumbnail). | | @reboslides/viewer | A read-only viewer (createViewer, <SlidesViewer>) and thumbnails of a slide as an image or a canvas (slidePicture, slideCanvas). | | @reboslides/collab | Real-time collaboration: the room server (bin/reboslides-collab.mjs), its client, and the changes between them (diffDecks/applyChanges from the core). Everyone sees the others' selection and undoes only their own changes. | | @reboslides/mcp | An MCP server (bin/reboslides-mcp.mjs) so Claude and other assistants can read and edit presentations, in files or live in a room. |

And the apps that use those packages:

| App | What it shows | | | --- | --- | --- | | apps/playground | Where everything is tried. | npm run dev | | apps/demo | The React package: SlideStudio, and an interface of its own built with the headless hooks. | npm run demo · :5191 | | apps/realtime | Several people in one presentation: the page, a backend that stores the presentations and signs tickets, and the room server. | npm run realtime · :5192 | | apps/assistant | The same with Claude in a chat, editing with the MCP tools while everyone watches. Needs ANTHROPIC_API_KEY. | npm run assistant · :5193 | | apps/viewer | The viewer and the thumbnails. | npm run viewer · :5194 | | apps/storage | Presentations kept in a storage bucket: the list from a backend, files read and written through signed addresses, and versions to restore. | npm run storage · :5195 | | apps/desktop | The studio as a desktop app with Tauri, opening and saving .reboslides files. | npm run desktop · :5196 | | apps/site | The website and the documentation. | npm run build:site |

@rebodocs/core and @rebodocs/editor (only its CanvasMeasurer from the latter) are linked from ../docs with file:; everything the editor uses from rebodocs goes through packages/editor/src/engine.ts.

PDF

The PDF is vector: backgrounds, gradients, shapes, rotation and transparency as drawing, and text as text, selectable and searchable. Fonts are embedded, cut down to the letters used, read and subset with rebodocs' parseTrueType and subsetTrueType; the editor downloads their .ttf files from Fontsource. A box with letters no font has (an emoji) goes in as an image.

Usage

npm install
npm run dev        # the playground
npm test           # core tests
npm run typecheck
npm run lint
import { Studio, googleFontsUrl } from '@reboslides/editor';

document.querySelector<HTMLLinkElement>('#fonts')!.href = googleFontsUrl();
new Studio(document.getElementById('app')!, { storageKey: 'my-app:deck', locale: 'en' });

Collaboration

node packages/collab/bin/reboslides-collab.mjs --port 7430   # rooms stored in ./rooms
<SlideStudio deck={deck} collab={{ url: 'http://127.0.0.1:7430', room, name: 'Ana' }} />

On the site: /demo/?collab=http://127.0.0.1:7430, Share, and open the address it gives in another window.

Assistants (MCP)

claude mcp add reboslides -- node /path/to/slides/packages/mcp/bin/reboslides-mcp.mjs --root ~/presentations

Shortcuts

| | | | --- | --- | | Double click / Enter | Edit the text | | Esc | Leave the text · deselect | | ⌘Z · ⇧⌘Z | Undo · redo | | ⌘D | Duplicate | | ⌘C · ⌘X · ⌘V | Copy, cut, paste (also images and text from elsewhere) | | Arrows (⇧ ×10) | Move | | ⌘B · ⌘I · ⌘U | Bold, italic, underline | | Alt while dragging | No guides | | ⇧ while rotating | In steps of 15 degrees | | Corner of a group | Scale it whole (⇧ to stretch it) | | ⌘ + wheel | Zoom |