creativecommons / creativecommons/ccos-website-source

[Content] add recommendations about minimizing packages to JavaScript Guidelines

Open
#668 0 comments 0 reactions 0 assignees View on GitHub
✨ goal: improvement 💻 aspect: code 🟩 priority: low 🧹 status: ticket work required
Dominant language
CSS
Stars
99
Forks
190
PR merge metrics
No merged PRs in 30d

Description

## 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

## Additional context
- [JavaScript Guidelines — Creative Commons Open Source](https://opensource.creativecommons.org/contributing-code/javascript-guidelines/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.