Node

Puppeteer, Cron Jobs, and You

A quick guide on how to run a puppeteer script in a cron job without doing a bunch of weird stuff with your node path.

Read

Why Importing Directories in JS Works

Have you ever seen an import statement where a file name is never specified? Something like Import Button from './components/button'. This is importing a directory, and yet it works? Let's figure out why.

Read