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

myclub-game-preview

v1.4.5

Published

KANVA - Das Social Media Tool für Sportvereine

Readme

Built With Stencil

myclub Game Preview & Game Results

Web Components for displaying game previews and results for myclub sports events. Built with StencilJS.

Components

<game-preview>

Displays an upcoming game with team logos, date, time, location and theme-based styling.

Properties

| Property | Attribute | Description | Type | Default | | ----------------- | ----------------- | ------------------------------------------------------------------------------------ | --------- | ----------- | | club | club | Club Id from my-club | string | undefined | | game | game | Game Id from my-club | string | undefined | | width | width | Width of the preview | string | '400' | | height | height | Height of the preview | string | '400' | | theme | theme | Theme of the preview (controls colors only) | string | 'myclub' | | backgroundimage | backgroundimage | Background image name (without extension). Falls back to theme name if not provided. | string | undefined | | ishomegame | ishomegame | Is this a home game? | boolean | false |

Supported Themes

Themes control color schemes only. Background images are managed separately via the backgroundimage parameter.

  • myclub / myclub-light - Primary: #339bde, Secondary: #795deb
  • myclub-dark - Primary: #795deb, Secondary: #339bde (dark background)
  • light - Primary: #339bde, Secondary: #795deb
  • dark - Primary: #795deb, Secondary: #339bde (dark background)
  • kadetten-unihockey - Primary: orange, Secondary: black

<game-result>

Displays the final result of a completed game with score and theme-based styling.

Properties

| Property | Attribute | Description | Type | Default | | ----------------- | ----------------- | ------------------------------------------------------------------------------------ | -------- | ----------- | | club | club | Club Id from my-club | string | undefined | | game | game | Game Id from my-club | string | undefined | | width | width | Width of the preview | string | '400' | | height | height | Height of the preview | string | '400' | | theme | theme | Theme of the preview (controls colors only) | string | 'myclub' | | backgroundimage | backgroundimage | Background image name (without extension). Falls back to theme name if not provided. | string | undefined |

Installation

<!doctype html>
<html dir="ltr" lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0">
  <title>myclub Game Review und Results</title>
  <script type="module" src="/build/myclub-game-preview.esm.js"></script>
  <script nomodule src="/build/myclub-game-preview.js"></script>
</head>
<body>
  <!-- Your components here -->
</body>
</html>

Usage Examples

Away Game Preview (default background)

<!-- Uses background-kadetten-unihockey.png automatically -->
<game-preview
  club="su-452800"
  ishomegame="false"
  game="su-1076760"
  width="400"
  height="400"
  theme="kadetten-unihockey">
</game-preview>

Home Game Preview (custom background)

<!-- Uses myclub-dark colors with background-custom.png -->
<game-preview
  club="su-452800"
  ishomegame="true"
  game="su-1076776"
  width="400"
  height="400"
  theme="myclub-dark"
  backgroundimage="custom">
</game-preview>

Game Result

<!-- Uses background-kadetten-unihockey.png automatically -->
<game-result
  club="su-452800"
  game="su-1076709"
  game-2="su-1076712"
  width="400"
  height="400"
  theme="kadetten-unihockey">
</game-result>

Custom Background Image

<!-- Uses background-my-special-background.png with light theme colors -->
<game-preview
  club="su-452800"
  game="su-1076760"
  theme="light"
  backgroundimage="my-special-background">
</game-preview>

Development

npm install
npm start

Build

npm run build