How to Add NPM Packages in Bun JS

Written by

in

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 

Comments

Leave a Reply

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

Are you human? Please solve:Captcha