mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
555 B
555 B
@lukehagar/plexjs Examples
This directory contains example scripts demonstrating how to use the @lukehagar/plexjs SDK.
Prerequisites
- Node.js (v18 or higher)
- npm
Setup
-
Copy
.env.templateto.env:cp .env.template .env -
Edit
.envand add your actual credentials
Running the Examples
To run an example file from the examples directory:
npm run build && npx tsx example.ts
Creating new examples
Duplicate an existing example file, they won't be overwritten by the generation process.