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 which version of Node to build project with #16

Open harley-harris opened 1 year ago

harley-harris commented 1 year ago

What?

To create a secure and maintainable service, an appropriate version of Node.js needs to be selected.

Why?

It is important to choose an appropriate version of Node. The choice needs be fairly recent so it supports newer features / APIs, has update to date security, good performance and will be supported for a fair amount of time. https://nodejs.dev/en/about/releases/

Acceptance Criteria?

List some pros and cons of using various version of Node and choose a version of Node to build the project with.

harley-harris commented 1 year ago

Node.js 18:

Pros:

Cons:

Node.js 16

Pros:

Cons:

Overall, I think the clear choice is using Node 18 as Node 16s long term support will be ending quite soon. Node 19 and 20 are still quite new and could pose teething problems.