alphagov / learningtime-hh-sem1-gov-location-service

Early talent assigned learning time, Semester 1 project for Harley Harris
1 stars 1 forks source link

Assess options available for Node.js package managers #9

Open harley-harris opened 1 year ago

harley-harris commented 1 year ago

What? Compare and contrast the different package managers available in Node.js. This will benefit users as choosing the right package manager will keep the service more secure and easily updatable.

Why? Choosing the right package manager for the project is important for dependency management and project maintainability.

Acceptance Criteria? Create list of pros and cons of available node package managers and choose one to use for the project

harley-harris commented 1 year ago

npm vs pnpm vs Yarn:

npm

Pros:

Cons

pnpm

Pros:

Cons:

Yarn

Pros:

Cons:

Overall for this project, I think npm is the best choice to use as a package manager. I am less likely to run into issues as the configuration is a lot simpler than Yarn or pnpm. As this project will not contain a massive amount of dependencies, I would get less benefits from using Yarn's caching system.