Nutritious Pumpkin Meal

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

    0.1.7 • 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"
    ]

    Keywords

    none

    Install

    npm i electron-latest-versions

    DownloadsWeekly Downloads

    138

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    8.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • timfish