Skip to content

Instantly share code, notes, and snippets.

@haderman
haderman / Index.js
Created November 16, 2021 21:09 — forked from travisk-codes/Index.js
Basketball API to CSV File
// we need to format a csv file
import converter from 'json-2-csv'
// we need to write a csv file
import fs from 'fs'
// we need to hit their api
import fetch from 'node-fetch'
// we need to unfold nested objects
import flatten from './flatten.js'
const URL = 'https://www.balldontlie.io/api/v1'
:root {
/* https://www.w3schools.com/tags/ref_pxtoemconversion.asp */
--size-xs: 0.25em;
--size-s: 0.5em;
--size-m: 1em;
--size-l: 1.5em;
--size-xl: 2em;
--saturation: 50%;
--lightness: 40%;
@haderman
haderman / GitCommitEmoji.md
Created March 25, 2020 22:43 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji