| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This is an example project demonstrating the usage of the HackMD API client.
cd ../../nodejs
pnpm install
pnpm build
cd ../examples/nodejspnpm installSet up your HackMD access token using one of these methods:
a. Set it as an environment variable:
# For Unix/Linux/macOS
export HACKMD_ACCESS_TOKEN=your_access_token_here
# For Windows PowerShell
$env:HACKMD_ACCESS_TOKEN="your_access_token_here"b. Or create a .env file in the project root (not tracked by git):
HACKMD_ACCESS_TOKEN=your_access_token_here
You can get your access token from HackMD API documentation.
To run the example:
pnpm startThe example demonstrates several features of the HackMD API client:
| Back | FazBrowse Home | New Git URL |