Nodejs生产环境稳定的版本及async/await的稳定版本

一般进入Maintenance LTS(Long Term Support)阶段的版本比较适合于生产环境。从下图来看当前生产环境可用的最高版本是6.x。而对Async/Await的支持是从v7.6.0开始的,所以现在还不适合在生产环境使用。

另:LTS版本一般是偶数版本

In fact, the next LTS release is chosen from a specific point release of the current version, and this will usually be an even version release (v6, v8).

Release schedule

Release Status Codename Initial Release Active LTS Start Maintenance LTS Start End-of-life
6.x Maintenance LTS Boron 2016-04-26 2016-10-18 2018-04-30 April 2019
8.x Active LTS Carbon 2017-05-30 2017-10-31 April 2019 December 20191
10.x Current Release Dubnium 2018-04-24 October 2018 April 2020 April 2021
11.x Pending   2018-10-23     June 2019

来源:https://github.com/nodejs/Release#release-schedule

LTS(Long Term Support). Once a Stable release line becomes LTS, no new features or breaking changes will be added to that release.