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:

bun add [PACKAGE_NAME]

For example, install figlet (ASCII art) and its typings:

bun add figlet
bun add -d @types/figlet 


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *