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

@esperanca-ui/componentes

v2.14.24

Published

Se voce estiver integrando esta biblioteca em outro projeto e quiser um indice rapido dos componentes publicos, leia tambem `COMPONENTS.md`.

Readme

@esperanca-ui/componentes

Se voce estiver integrando esta biblioteca em outro projeto e quiser um indice rapido dos componentes publicos, leia tambem COMPONENTS.md.

Biblioteca de componentes React com estilos em CSS puro, build com Vite e um site de documentacao proprio em docs-site/.

TL;DR

  • Instalar dependencias: npm install
  • Rodar docs locais: npm run dev:docs
  • Build da biblioteca: npm run build
  • Build das docs: npm run build:docs
  • Docker dev: docker compose up --build dev
  • Docker prod (docs + CDN): docker compose up --build prod

Arquitetura (alto nivel)

  • Componentes React em src/components/
  • Estilos globais em src/index.css (tema claro/escuro via variaveis CSS)
  • Build com tsc + vite e geracao de tipos via vite-plugin-dts
  • Site de documentacao em docs-site/ com Vite + React Router
  • Publicacao automatizada via pipeline de tag
  • Publicacao npm com token injetado em CI, sem credenciais no repositorio

Estrutura de pastas

.
├── docs-site/          # app de documentacao
├── docker/             # imagens e configuracao nginx
├── docs/               # guias de uso/publicacao
├── scripts/            # wrappers Node para tarefas locais das docs
├── src/                # biblioteca publicada
├── .gitlab-ci.yml      # validacao + publicacao
├── package.json        # scripts e metadados do pacote
├── vite.config.ts       # build da biblioteca
└── vite.config.docs.mjs # build das docs

Configuracao (.env)

Arquivo de exemplo: .env.example.

Nao encontrado no repositorio
TODO: completar

Como rodar

Desenvolvimento

npm install
npm run dev:docs

Acesse o site de documentacao local em http://localhost:3000.

Build da biblioteca

npm run build

Build das docs

npm run build:docs

Docker

Desenvolvimento:

docker compose up --build dev

Docs em producao + artefatos da biblioteca em /cdn:

docker compose up --build prod
  • Dev em http://localhost:3007
  • Prod em http://localhost:3008

Uso rapido

import { DataTable, Sidebar, FormSidebar, Input, ComboBox, Checkbox, Radio, RadioGroup, Textarea, Button } from '@esperanca-ui/componentes';
import '@esperanca-ui/componentes/style.css';

Tambem inclui componentes para gestao de projetos, como TaskStatusBadge, TaskPriorityBadge, TaskCard e TaskCalendar. Os estilos dos graficos (LineChart e BarChart) tambem saem nesse mesmo @esperanca-ui/componentes/style.css.

Quick Actions de Topo

O CSS publico tambem inclui classes esp-* para acoes rapidas com Button, como esp-quick-action, esp-quick-action-expand, esp-quick-action-outline, esp-quick-action-soft e esp-quick-action-glass.

O exemplo completo esta em COMPONENTS.md.

Verificacao rapida

npm run build
npm run build:docs

Documentacao

  • Wiki tecnica: docs/wiki-componentes-react.md
  • Funcoes/exports: docs/functions.md
  • Componentes: docs/components.md
  • Roadmap de gestao de projetos: docs/componentes-gestao-projetos.md
  • Tutorial de instalacao do pacote publico: docs/tutorial-instalacao-pacote-publico.md
  • Tutorial de instalacao via GitLab interno: docs/tutorial-instalacao-pacote-npm-gitlab.md
  • Publicacao do pacote: docs/publicacao-npm-e-gitlab.md