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

rpg-prop-kit

v0.1.0

Published

Props de UI retro (CRT e afins) para ferramentas de RPG de mesa — componentes React extraídos do Immersive Terminal.

Readme

rpg-prop-kit

Props de UI retrô para ferramentas de RPG de mesa — componentes React prontos para dar clima de "terminal de ficção científica" às suas mesas. Os componentes nascem do efeito CRT do Immersive Terminal for RPGs, extraídos e empacotados para reuso em qualquer projeto.

⚠️ Status: em desenvolvimento inicial (v0.1.0). API pode mudar.

Componentes

| Componente | Descrição | | ---------------- | ---------------------------------------------------------------- | | <CRTScreen> | Moldura de monitor CRT (scanlines, flicker, sweep, vignette, curvatura), com temas de fósforo. | | <TypeWriter> | Digita um texto caractere a caractere, com cursor piscando. | | <BootSequence> | Sequência de boot: linhas digitadas em ordem, com cores por status. | | <CRTImage> | Imagem com tratamento de fósforo (dessaturada, tom + scanlines). |

Hook: useTypewriter(text, options) — a lógica de digitação, caso queira montar o seu próprio componente.

Mais props chegam nas próximas versões.

Instalação

npm install rpg-prop-kit

react e react-dom (>= 18) são peer dependencies.

Uso

import { CRTScreen, BootSequence, TypeWriter } from 'rpg-prop-kit'
import 'rpg-prop-kit/styles.css'

export function App() {
  return (
    <CRTScreen theme="phosphor" fullscreen>
      <BootSequence
        lines={[
          { text: '> POST ......... OK', status: 'ok' },
          '> carregando manifesto da missao ...',
          { text: '> AVISO: assinatura desconhecida', status: 'error' },
        ]}
      />
      <TypeWriter text="> bem-vindo, operador._" cursor />
    </CRTScreen>
  )
}

Props do CRTScreen

| Prop | Tipo | Padrão | Descrição | | ------------ | --------------------------------- | ---------- | ------------------------------------------- | | theme | 'phosphor' \| 'amber' \| 'ice' | — | Tema de cor. Omita para usar o seu próprio. | | fullscreen | boolean | false | Ocupa a viewport inteira. | | scanlines | boolean | true | Linhas horizontais. | | flicker | boolean | true | Tremor de opacidade. | | sweep | boolean | true | Faixa de luz descendo. | | vignette | boolean | true | Bordas escurecidas. | | curvature | boolean | true | Leve inclinação 3D. | | className | string | — | Classe extra no container. | | style | CSSProperties | — | Estilos inline no container. |

Tema próprio

Não passe theme e defina as variáveis num ancestral:

.minha-tela {
  --rpk-bg: #08010a;
  --rpk-fg: #d36bff;
  --rpk-accent: #f0b3ff;
  --rpk-glow: 8px;
}

Desenvolvimento

npm install      # instala as dependências
npm run dev      # playground em http://localhost:5173
npm run build    # gera o pacote em dist/ (ES + UMD + tipos)

A estrutura:

src/
  components/   # um diretório por componente (CRTScreen, ...)
  hooks/        # hooks reutilizáveis
  styles/       # temas e tokens compartilhados
  utils/        # helpers
examples/       # playground consumido pelo index.html da raiz

Licença

MIT © Felipe Lippelt