nodejs-lts-versions

1.0.0 • Public • Published

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' ]

Package Sidebar

Install

npm i nodejs-lts-versions

Weekly Downloads

0

Version

1.0.0

License

BSD-3-Clause

Unpacked Size

9.27 kB

Total Files

10

Last publish

Collaborators

  • tnpi