National Hockey League Module for MagicMirror²
  • JavaScript 78.2%
  • Nunjucks 20.9%
  • CSS 0.9%
Find a file
dependabot[bot] 9660676a82
Bump minimatch from 3.1.2 to 3.1.5 (#9)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to
3.1.5.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7bba97888a"><code>7bba978</code></a>
3.1.5</li>
<li><a
href="bd259425b2"><code>bd25942</code></a>
docs: add warning about ReDoS</li>
<li><a
href="1a9c27c757"><code>1a9c27c</code></a>
fix partial matching of globstar patterns</li>
<li><a
href="1a2e084af5"><code>1a2e084</code></a>
3.1.4</li>
<li><a
href="ae24656237"><code>ae24656</code></a>
update lockfile</li>
<li><a
href="b100374922"><code>b100374</code></a>
limit recursion for **, improve perf considerably</li>
<li><a
href="26ffeaa091"><code>26ffeaa</code></a>
lockfile update</li>
<li><a
href="9eca892a4e"><code>9eca892</code></a>
lock node version to 14</li>
<li><a
href="00c323b188"><code>00c323b</code></a>
3.1.3</li>
<li><a
href="30486b2048"><code>30486b2</code></a>
update CI matrix and actions</li>
<li>Additional commits viewable in <a
href="https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=minimatch&package-manager=npm_and_yarn&previous-version=3.1.2&new-version=3.1.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/parnic/MMM-NHL/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 08:01:47 -06:00
.bruno Add Bruno requests 2025-12-02 18:22:26 -06:00
.github Review (#3) 2024-10-08 14:32:06 -05:00
templates v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
translations v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
.codeclimate.yml Review (#3) 2024-10-08 14:32:06 -05:00
.editorconfig add linter 2017-03-20 12:58:17 +01:00
.gitignore added jsdoc 2021-01-23 20:32:13 +01:00
.mdlrc updated config files 2021-01-17 11:00:11 +01:00
.prettierignore ignore bruno requests 2025-12-02 18:28:01 -06:00
.stylelintrc Review (#3) 2024-10-08 14:32:06 -05:00
CHANGELOG.md Prepare for release 2025-12-02 18:22:27 -06:00
eslint.config.mjs Review (#3) 2024-10-08 14:32:06 -05:00
jsdoc.json Review (#3) 2024-10-08 14:32:06 -05:00
LICENSE Initial commit 2016-10-09 20:02:30 +02:00
MMM-NHL.css fix property-no-vendor-prefix 2022-02-08 19:26:17 +01:00
MMM-NHL.js Review (#3) 2024-10-08 14:32:06 -05:00
node_helper.js v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
package-lock.json Bump minimatch from 3.1.2 to 3.1.5 (#9) 2026-03-01 08:01:47 -06:00
package.json Prepare for release 2025-12-02 18:22:27 -06:00
README.md Review (#3) 2024-10-08 14:32:06 -05:00

MMM-NHL GitHub license Build status Code Climate Known Vulnerabilities

National Hockey League module for MagicMirror².

Examples

past games in progress team focus no color playoffs

Dependencies

  • An installation of MagicMirror².

Installation

Just clone the module into your modules directory:

cd ~/MagicMirror/modules
git clone https://github.com/parnic/MMM-NHL

Update

Just enter the module's directory and pull the update:

cd ~/MagicMirror/modules/MMM-NHL
git pull

Configuration

  • Configure your ~/MagicMirror/config/config.js:
    {
        module: 'MMM-NHL',
        position: 'top_right',
        config: {
            // Add your config options here, which have a different value than default.
        }
    },

Config Options

Option Default Description
colored false Remove black/white filter of logos.
focus_on false Display only matches with teams of this array e.g. ['VAN', 'MTL', 'BOS'].
matches 6 Max number of matches displaying simultaneously.
rotateInterval 20000 (20 secs) How often should be rotated the matches in the list.
reloadInterval 1800000 (30 mins) How often should the data be fetched.
daysInPast 1 How many days should a game be displayed after it is finished.
daysAhead 7 How many days should a game be displayed before it starts.
liveReloadInterval 60000 (1 min) How often should the data be fetched during a live game.
showNames true Should team names be displayed?
showLogos true Should team logos be displayed?
showPlayoffSeries true Should playoff series be displayed (if in playoffs)?
rollOver false Displays today's games and based on game status also yesterdays games or tomorrows games. Automatically overrides daysInPast and daysAhead to 1.

Global config

Option Default Description
locale undefined By default it is using your system settings. You can specify the locale in the global MagicMirror² config. Possible values are for e.g.: 'en-US' or 'de-DE'.

To set a global config you have to set the value in your config.js file inside the MagicMirror² project.

config

Developer

  • npm i - Install devDependecies.
  • npm run lint - Lint check JS and CSS files.
  • npm run lint:fix - Lint fix JS and CSS files.
  • npm run docs - Generates documentation.