electron-latest-versions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

electron-latest-versions

Gets the latest versions of Electron for a range of major versions.

api

function getLatestVersions(options: {
  start?: number;
  end?: number;
  last?: number;
  beta?: boolean;
  alpha?: boolean;
}): Promise<string[]>;

const versions = await getLatestVersions({ last: 5, beta: true });

cli

> electron-latest-versions --last 6
[
  "10.4.7",
  "11.5.0",
  "12.2.2",
  "13.6.1",
  "14.2.1",
  "15.3.1"
]
> electron-latest-versions --start 13 --beta
[
  "13.6.1",
  "14.2.1",
  "15.3.1",
  "16.0.0-beta.8"
]

Readme

Keywords

none

Package Sidebar

Install

npm i electron-latest-versions

Weekly Downloads

407

Version

0.2.0

License

MIT

Unpacked Size

8.94 kB

Total Files

9

Last publish

Collaborators

  • timfish