1.0.1 • Published 3 years ago

latest-stable-version v1.0.1

Weekly downloads
172
License
MIT
Repository
github
Last release
3 years ago

latest-stable-version

CI Badge NPM Badge

Utility function to get the latest cleaned stable SemVer version from GitHub releases.

Installation

Install latest-stable-version through npm:

$ npm install latest-stable-version

Usage

import latestStableVersion from "latest-stable-version";

const promise: Promise<string> = latestStableVersion({
  owner: "<owner>",
  repo: "<repo>",
});

License

This package is available as open source under the terms of the MIT License.