I have a question about the appropriate way to write code that includes packages for consumption on things like GitHub and these forums.
For one of the portfolio projects (Mixed Messaged), I made a Shakespearian Insult Generator.
To get it to work I installed an npm package called prompt-sync that works with node in the terminal.
However, when I copied my code to the feedback forum and used a Code Byte, the code byte popped back an error because it didn’t have the npm package installed.
Is there a standard way I can include a package in my code when I share it on things like Github?
Thank you for any help or insight you can provide.