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

faster-sidebar

v1.0.5

Published

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Readme

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default tseslint.config({
  extends: [
    // Remove ...tseslint.configs.recommended and replace with this
    ...tseslint.configs.recommendedTypeChecked,
    // Alternatively, use this for stricter rules
    ...tseslint.configs.strictTypeChecked,
    // Optionally, add this for stylistic rules
    ...tseslint.configs.stylisticTypeChecked,
  ],
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
  plugins: {
    // Add the react-x and react-dom plugins
    'react-x': reactX,
    'react-dom': reactDom,
  },
  rules: {
    // other rules...
    // Enable its recommended typescript rules
    ...reactX.configs['recommended-typescript'].rules,
    ...reactDom.configs.recommended.rules,
  },
})

Faster Sidebar

Bienvenido a faster-sidebar, la solución definitiva para integrar barras laterales en aplicaciones web modernas. Diseñado con React, TypeScript y Vite, este módulo ofrece una experiencia de usuario excepcional y una integración sin complicaciones.

¿Por Qué Elegir faster-sidebar?

Rendimiento Inigualable

  • Optimización con Vite: Disfruta de una recarga en caliente (HMR) rápida y eficiente que acelera el desarrollo y mejora la productividad.
  • Componentes Reactivos: Utiliza React para crear interfaces de usuario dinámicas y receptivas que se adaptan a cualquier dispositivo.

Diseño Elegante y Personalizable

  • Estilo Moderno: Ofrece un diseño limpio y profesional que se integra perfectamente con la estética de cualquier proyecto.
  • Personalización Completa: Ajusta colores, tamaños y comportamientos para que la barra lateral se alinee con la identidad visual de tu marca.

Integración Sencilla y Rápida

  • Componentes Reutilizables: Importa y utiliza componentes como Sidebar, SidebarCollapsedMenu, y SubMenu en minutos, reduciendo el tiempo de desarrollo.
  • Compatibilidad Total: Diseñado para funcionar sin problemas con proyectos que ya utilizan React y TypeScript.

Ventajas de Usar faster-sidebar en Futuras Implementaciones

Ahorro de Tiempo y Recursos

  • Desarrollo Eficiente: Evita reinventar la rueda con cada nuevo proyecto. Reutiliza componentes probados y optimizados para ahorrar tiempo y esfuerzo.
  • Mantenimiento Simplificado: Centraliza la lógica de la barra lateral en un único módulo, facilitando actualizaciones y correcciones de errores.

Consistencia y Escalabilidad

  • Experiencia de Usuario Coherente: Asegura una interfaz uniforme en todos tus proyectos, mejorando la experiencia del usuario.
  • Preparado para el Futuro: Ideal para proyectos que esperan crecer y evolucionar, permitiendo una fácil expansión de la funcionalidad de la barra lateral.

Cómo Comenzar

  1. Instalación Rápida:

    npm install faster-sidebar
  2. Integración en tu Proyecto:

    import { Sidebar } from 'faster-sidebar';
    
    const App = () => (
      <Sidebar>
        {/* Tu contenido aquí */}
      </Sidebar>
    );
  3. Personalización: Ajusta las propiedades de los componentes para que se adapten a tus necesidades específicas.

Contribuye y Mejora

Estamos emocionados de recibir contribuciones de la comunidad. Si tienes ideas para mejorar faster-sidebar, ¡no dudes en hacer un fork del repositorio y enviar un pull request!

Detalles Técnicos

El módulo faster-sidebar incluye componentes que detectan automáticamente si el dispositivo es móvil, ajustando el comportamiento de la barra lateral en consecuencia. Por ejemplo, el componente SidebarCollapsedMenuItem utiliza un efecto para verificar el tamaño de la pantalla y ajustar la interfaz de usuario.

useEffect(() => {
  const checkIfMobile = () => {
    setIsMobile(window.matchMedia('(max-width: 768px)').matches);
  };
  
  // Initial check
  checkIfMobile();
  
  // Add event listener for window resize
  window.addEventListener('resize', checkIfMobile);
  
  // Cleanup
  return () => window.removeEventListener('resize', checkIfMobile);
}, []);

Este enfoque asegura que la barra lateral se comporte de manera óptima en cualquier dispositivo, mejorando la experiencia del usuario.