Skip to content

Commit 18b99d8

Browse files
Add installation instructions in README.md (#7)
Co-authored-by: Bryan Chen <Bryan.Chen2@microchip.com>
1 parent c515c94 commit 18b99d8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ This library documents the definitive comprehensive typings of [the Scryfall API
44

55
This library uses [semver] for versioning. These versions only describe this library, not the Scryfall API as a whole.
66

7+
## Installation
8+
9+
```bash
10+
npm install @scryfall/api-types
11+
```
12+
713
## Examples
814

915
### Fetching a card
@@ -61,7 +67,6 @@ if ("card_faces" in anyCard) {
6167
} else {
6268
const sfc: ScryfallCard.AnySingleFaced = anyCard;
6369
}
64-
6570
```
6671

6772
## Usage

0 commit comments

Comments
 (0)