Skip to content

Create latest.json in /dist/ #251

@phillipj

Description

@phillipj

An issue on nodejs.org has been raised nodejs/nodejs.org#342 about exposing a straight-forward way to find the current LTS and Stable versions, instead of parsing /dist/index.json and re-implementing the logic we've got on nodejs.org.

Could we create latest.json alongside the index.json in https://nodejs.org/dist/? E.g:

{
  "lts": {
    "version": "v4.2.1",
    "date": "2015-10-13",
    "files": [ .. ],
    "npm": "2.14.7",
    "v8": "4.5.103.35",
    "uv": "1.7.5",
    "zlib": "1.2.8",
    "openssl": "1.0.2d",
    "modules": "46",
    "lts": "Argon",
    "name": "Node.js",
    "url": "https://nodejs.org/download/release/v4.2.1/"
  },
  "stable": {
    "version": "v5.0.0",
    "date": "2015-10-29",
    "files": [ .. ],
    "npm": "3.3.6",
    "v8": "4.6.85.28",
    "uv": "1.7.5",
    "zlib": "1.2.8",
    "openssl": "1.0.2d",
    "modules": "47",
    "lts": false,
    "name": "Node.js",
    "url": "https://nodejs.org/download/release/v5.0.0/"
  }
}

Please correct me if I'm missing something here @martinheidegger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions