NPM Packages
Coral publishes reusable packages for app scaffolding, Jellyfin integration, and shared tooling.
Package Catalog
Section titled “Package Catalog”| Package | Purpose |
|---|---|
| create-coral | CLI to scaffold a new Coral module from the official template |
| @get-coral/ui | Shared React UI component library and design tokens for Coral apps |
| @get-coral/jellyfin | Typed Jellyfin API client for Node, browser, and edge runtimes |
| @get-coral/tsconfig | Shared TypeScript config presets for Coral repositories |
| @get-coral/biome-config | Shared Biome lint/format configuration for Coral repositories |
Installation
Section titled “Installation”Scaffold a new module
Section titled “Scaffold a new module”pnpm create coral@latest# ornpm create coral@latestAdd shared tooling presets
Section titled “Add shared tooling presets”pnpm add -D @get-coral/tsconfig @get-coral/biome-config# ornpm install --save-dev @get-coral/tsconfig @get-coral/biome-configAdd the Jellyfin client
Section titled “Add the Jellyfin client”pnpm add @get-coral/jellyfin# ornpm install @get-coral/jellyfinAdd shared UI components
Section titled “Add shared UI components”pnpm add @get-coral/ui# ornpm install @get-coral/ui