1.0.0 • Published 3 years ago

nodejs-lts-versions v1.0.0

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
3 years ago

Get Node.js LTS versions

Retrieve a list of Long Term Stable versions of Node.js.

The output of the yaml function is designed to populate a GitHub Actions matrix declaration.

Usage

const ltsv = require('node-lts-versions')
ltsv.print()  // see below
ltsv.yaml()

Methods

print

Ver Codename    Latest Release          LTS Period
10  Dubnium     v10.23.2  2021-01-26    2018-10-30 to 2021-04-29
12  Erbium      v12.20.1  2021-01-04    2019-10-21 to 2022-04-20
14  Fermium     v14.15.4  2021-01-04    2020-10-27 to 2023-04-26

json

["10","12","14"]

yaml

[ '10', '12', '14' ]