N
N
Nuts2016-04-11 08:52:06
Node.js
Nuts, 2016-04-11 08:52:06

Which version of Nodejs to use: 4 LTS or 5 Stable?

Good afternoon.
Tell me which version of Nodejs should be used now: 4 LTS or 5 Stable with all the latest changes?
What should be guided by when choosing?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
OnYourLips, 2016-04-11
@rmnuts

Start with 5.
If the project is supported for a long time, then in the future you will translate it into LTS versions.

K
Konstantin Kitmanov, 2016-04-11
@k12th

LTS is Long-Term Support, that is, a very stable branch, in which there are obviously no changes, only security patches, that is, no matter how you update the version (within 4.x), the service will not break. This makes sense for projects that are in the "working - do not touch" stage, for projects in active development it is more fun to take an actively developing branch.
Definitely 5 - better ES2015 support and performance. In addition, in just a couple of weeks, 6 will be released, which will also be LTS, and switching to it from five will be much smoother than from 4.

S
sasha, 2016-04-11
@madmages

TLS if you are building a long-term project.
5 if you are doing some craft or a simple project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question