Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@christiansahlstrom/nhl-cool-widget

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@christiansahlstrom/nhl-cool-widget

Widget for showing upcoming and recently played NHL games for current season (Sample project)

  • 1.0.1
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NHL widget for showing upcoming and recently played games for current season (Sample project)

How to use

Basic usage

import { Schedule } from  '@christiansahlstrom/nhl-cool-widget';

const Component = () => (
	<>
		<Schedule />
	</>
);

export default Component;

With team id filtering activated

import { Schedule } from  '@christiansahlstrom/nhl-cool-widget';

const Component = () => (
	<>
		<Schedule filterActive={shouldFilter} teamId={21} />
	</>
);

export default Component;

Check here for getting the team ID that you want to use: https://statsapi.web.nhl.com/api/v1/teams

Note that this is just an example component

FAQs

Package last updated on 07 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc