0
0
mirror of https://github.com/tj/n.git synced 2024-12-01 14:41:07 +01:00
n/bin
Stefan Maric 0f590a4ef2 Add support for "lts" alias, closes #313
--lts will display latest LTS version
lts will install latest LTS version

Node LTS releases use "a naming convention based on the Periodic
Table of Elements [...] in alphabetical order", as announced here:
https://nodejs.org/en/blog/release/v4.2.0/

LTS versions have their own folder in nodejs' dist folder, e.g.:
https://nodejs.org/dist/latest-argon/

To retrieve latest LTS' latest version, we search for and fetch
that folder. We get the semver number from the first file that
holds it. Then we can fetch the trallbar.
2015-11-04 22:20:36 -04:30
..
n Add support for "lts" alias, closes #313 2015-11-04 22:20:36 -04:30