@jimjardland/nhl
v3.5.3
Published
Breaking out some code from my [NHL graphql api](https://github.com/Jimjardland/pokechecked) from earlier.
Downloads
4
Readme
Breaking out some code from my NHL graphql api from earlier.
Making it an npm package, mainly for building Pokechecked in React Native
Installating
npm i @jimjardland/nhl
Usage
const { getHighlights } = require('@jimjardland/nhl')
const highlights = await getHighlights()
Building
git clone https://github.com/Jimjardland/nhl
Change to nhl directory:
cd nhl
Install dev dependencies
npm i
Use one of the following to build and test
npm start # Builds and and runs dist/lib/index.js
npm run test # Run unit tests
npm run build # builds