Blog

  • How to Add NPM Packages in Bun JS

    Bun JS has an insanely fast package installer which is one great reason to upgrade to it over Node! To install a package in bun simply use: For example, install figlet (ASCII art) and its typings:

    Read more →

  • Bun js Hot Reload – Full Guide

    Bun incudes 2 very handy flags that will watch your project for file changes. I also cover this in my bun Elysia course. 1. Reload with the –watch flag This is used in the command to run your server, eg: If a files contents change within your project folder then bun will cold reload your…

    Read more →

  • How to Create a Server in native Bun JS

    Note that these instructions are for installing on Mac. Linux or WSL on Windows. Native Windows is experimental at this point (2023) so best to avoid it for now. Open up a folder in VS Code where your project will live. Open up a terminal within VS Code and enter: This will install bun for…

    Read more →

  • Create a Basic Express JS Server

    This server will print out a “hello world” to a local webpage on your PC. The steps are simple: Step 1: Install Node JS Go here https://nodejs.org/en/download/ and download the installer for your system (Max / Windows / Linux). Once installed verify by opening a cmd or terminal and typing “node -v && npm -v”…

    Read more →