creativecommons.github.io-source
creativecommons.github.io-source copied to clipboard
[Content] add recommendations about minimizing packages to JavaScript Guidelines
Problem
There's no guidance for contributors when solving a problem by utilizing packages within a node ecosystem project. There should be some measure of reasonable guidance that is not so specific as to hinder work, but also to keep a balance of clarity and reduce unnecessary complexity.
Description
Find, research, and outline specific guidance about keeping this to a minimum, ways to rectify this, and bridging differing philosophical routes to ensure that sprawl is absent or minimal.
Some key points:
- better to write a function than include a package.
- what is the threshold (ex. lines of code) for re-implement vs package inclusion
- when in the project lifecycle should packages be reduced