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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@terrymooreii/nhl

v1.0.8

Published

View NHL scores, schedules, and standings on the command line

Downloads

9

Readme

nhl-cli

Get the latest NHL scores and standing on your command line

Installation

$ npm install -g nhl-cli

Usage

Line Score

$ nhl 
$ nhl scores -l

Friday January 24
====================================================
1st 20:00                1st 2nd 3rd      Total  SOG
Canadian All-Stars        0   0   0         0     0
American All-Stars        0   0   0         0     0

Saturday January 25
====================================================
                         1st 2nd 3rd      Total  SOG
Team Metropolitan         0   0   0         0     0
Team Atlantic             0   0   0         0     0

                         1st 2nd 3rd      Total  SOG
Team Pacific              0   0   0         0     0
Team Central              0   0   0         0     0

Options

nhl scores -h
Usage: nhl scores [options] [option]

Show score and upcoming games.

Options:
  -l, --line              Show as line score
  -s, --scheduled [days]  How many days of scheduled games to show
  -c, --completed [days]  How many previous days scores to show
  -h, --help              output usage information

Scores

$ nhl scores
Friday January 24
-----------------------------------------------------
Vegas Golden Knights  2  vs  3  Boston Bruins
  New York Islanders  4  vs  2  New York Rangers
       Winnipeg Jets  1  vs  4  Carolina Hurricanes
 Pittsburgh Penguins  0  vs  3  Philadelphia Flyers
    Florida Panthers  4  vs  3  Chicago Blackhawks

Saturday January 25
-----------------------------------------------------
       Winnipeg Jets  0  vs  0  Columbus Blue Jackets
   Detroit Red Wings  0  vs  0  Minnesota Wild

Options

nhl scores -h
Usage: nhl scores [options] [option]

Show score and upcoming games.

Options:
  -l, --line              Show as line score
  -s, --scheduled [days]  How many days of scheduled games to show
  -c, --completed [days]  How many previous days scores to show
  -h, --help              output usage information

Standings

$ nhl standings  
---------------------------------------------
                   Eastern
---------------------------------------------
Atlantic                  PT | WN | LO | OT 
---------------------------------------------
Boston Bruins             70 | 29 | 10 | 12
Tampa Bay Lightning       62 | 29 | 15 |  4
Florida Panthers          61 | 28 | 16 |  5
---------------------------------------------
Metro                     PT | WN | LO | OT 
---------------------------------------------
Washington Capitals       71 | 33 | 11 |  5
Pittsburgh Penguins       67 | 31 | 14 |  5
New York Islanders        63 | 29 | 15 |  5
---------------------------------------------
Wildcard                  PT | WN | LO | OT 
---------------------------------------------
Columbus Blue Jackets     62 | 27 | 16 |  8
Carolina Hurricanes       61 | 29 | 18 |  3
Philadelphia Flyers       60 | 27 | 17 |  6
Toronto Maple Leafs       57 | 25 | 17 |  7
Buffalo Sabres            51 | 22 | 20 |  7
Montréal Canadiens        51 | 22 | 21 |  7
New York Rangers          50 | 23 | 21 |  4
Ottawa Senators           42 | 17 | 23 |  8
New Jersey Devils         41 | 17 | 24 |  7
Detroit Red Wings         28 | 12 | 35 |  4
---------------------------------------------
                   Western
---------------------------------------------
Pacific                   PT | WN | LO | OT 
---------------------------------------------
Vancouver Canucks         58 | 27 | 18 |  4
Edmonton Oilers           57 | 26 | 18 |  5
Calgary Flames            57 | 26 | 19 |  5
---------------------------------------------
Central                   PT | WN | LO | OT 
---------------------------------------------
St. Louis Blues           68 | 30 | 11 |  8
Colorado Avalanche        62 | 28 | 15 |  6
Dallas Stars              58 | 27 | 17 |  4
---------------------------------------------
Wildcard                  PT | WN | LO | OT 
---------------------------------------------
Arizona Coyotes           57 | 26 | 20 |  5
Vegas Golden Knights      57 | 25 | 20 |  7
Winnipeg Jets             54 | 25 | 22 |  4
Chicago Blackhawks        54 | 24 | 21 |  6
Minnesota Wild            52 | 23 | 21 |  6
Nashville Predators       51 | 22 | 18 |  7
San Jose Sharks           46 | 21 | 25 |  4
Anaheim Ducks             43 | 19 | 24 |  5
Los Angeles Kings         41 | 18 | 27 |  5
---------------------------------------------

Options

nhl standings -h
Usage: nhl standings [options] [option]

Shows the current standings

Options:
  -w, --wildcard    Shows the wildcard standings
  -l, --league      Shows the league standings
  -d, --division    Shows the standing by division
  -c, --conference  Shows the standings by conference
  -h, --help        output usage information

Favorites

Set your favorite NHL team(s) and they will get highlighted in the output

$ nhl favorites

Contribute

Something broke? What to add something? Open a PR!

License

MIT