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

choose-a-movie-for-me-ds

v0.1.13

Published

A comprehensive design system for movie-related applications built with web components following Atomic Design principles

Readme

Choose a Movie for Me Design System

Descrizione del Progetto

Choose a Movie for Me DS è un design system basato su Web Components, pensato per realizzare interfacce accessibili, modulari e riusabili per applicazioni di suggerimento e presentazione di film. Il progetto fornisce una libreria di componenti UI (atomi, molecole, organismi, layout e template) che rispettano le best practice di accessibilità (WCAG 2.1 AA), usano design tokens CSS e sono documentati e testati in modo automatico tramite Storybook, Playwright e jest-axe.

Architettura e Struttura

  • Web Components: Tutti i componenti sono custom elements (cam-ds-*) e seguono la convenzione di naming e struttura suggerita dai design system moderni.
  • Atomic Design: La struttura delle cartelle segue i livelli di atomic design:
    • Atoms: Elementi base come button, avatar, logo, poster, tipografia, ecc.
    • Molecules: Combinazioni di atomi, es. star-list, person, billing-type.
    • Organisms: Blocchi complessi, es. movie-info, people-list, availability.
    • Layout: Componenti strutturali come header, footer, content.
    • Template: Struttura di pagina completa.
    • Pages: Esempi di pagine composte.
  • Design Tokens: Tutti i colori, font, spaziature sono centralizzati in /src/tokens/design-tokens.css.
  • Font: L’intero sistema usa Open Sans da Google Fonts.
  • Testing: Ogni componente è testato con:
    • jest-axe per l’accessibilità (incluso landmark semantico nei test)
    • Playwright per il contrasto colore e test end-to-end
    • Storybook per la documentazione interattiva e visuale
  • Accessibilità: Tutti i componenti sono progettati per essere:
    • Navigabili da tastiera
    • Con focus visibile
    • Con markup semantico e ARIA appropriati
    • Testati con screen reader
    • Con contrasto minimo 4.5:1 verificato automaticamente
  • Documentazione: Ogni componente ha README dettagliato, pattern d’uso, scorciatoie da tastiera, API eventi, note implementative e test.

Tecnologie Utilizzate

  • Web Components (Custom Elements, Shadow DOM)
  • Vite per il build system
  • Storybook per la documentazione e sviluppo UI
  • Jest + jest-axe per test di accessibilità
  • Playwright per test end-to-end e visuali
  • CSS Design Tokens
  • Google Fonts (Open Sans)

Esempio di utilizzo

<cam-ds-template>
  <cam-ds-header></cam-ds-header>
  <main>
    <cam-ds-movie-info title="Inception" year="2010"></cam-ds-movie-info>
    <cam-ds-people-list people='[{"name":"Mario Rossi","role":"Regista"}]'></cam-ds-people-list>
  </main>
  <cam-ds-footer></cam-ds-footer>
</cam-ds-template>