Skip to content

Commit 41b683a

Browse files
committed
docs: update README to include build step for HackMD API package and clarify installation instructions
1 parent ae090e6 commit 41b683a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

examples/nodejs/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ This is an example project demonstrating the usage of the HackMD API client.
44

55
## Setup
66

7-
1. First, install the dependencies:
7+
1. First, build the HackMD API package:
88
```bash
9+
cd ../../nodejs
910
npm install
11+
npm run build
12+
cd ../examples/nodejs
1013
```
1114

12-
2. Set up your HackMD access token using one of these methods:
15+
2. Install the example dependencies:
16+
```bash
17+
npm install
18+
```
19+
20+
3. Set up your HackMD access token using one of these methods:
1321

1422
a. Set it as an environment variable:
1523
```bash

0 commit comments

Comments
 (0)