YS External Modules
Reusing code is the cornerstone of good programming.
If you see duplicate logic, refactor it into a function.
If you see a function that's used in multiple places, move it to a module.
If you need the module in multiple repos, publish it online.
Today let's see how we'd go about refactoring a YS program's useful functions into an external module for reuse by anyone.