Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
fix: Export options
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Jul 25, 2019
1 parent 4b389c0 commit 686206e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

Get informations about Electron versions.

## Usage
## Installation

```
yarn global add electron-info
# or
npm i -g electron-info
```

## CLI Usage

```
Usage: electron-info [options] [command]
Expand Down Expand Up @@ -98,3 +106,8 @@ $ electron-info chrome 71
Found 2 releases.
```

## TypeScript Usage

- [see definitions](https://unpkg.com/electron-info@latest/dist/ElectronInfo.d.ts)
- [see CLI](./src/cli.ts)
2 changes: 1 addition & 1 deletion src/ElectronInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface RawReleaseInfo {
version: string;
}

interface Options {
export interface Options {
/** Default is `true`. */
electronPrereleases?: boolean;
/** Default is `false`. */
Expand Down

0 comments on commit 686206e

Please sign in to comment.