{"_id":"@anchorlib/ssr","name":"@anchorlib/ssr","dist-tags":{"latest":"1.3.0"},"versions":{"1.3.0":{"type":"module","name":"@anchorlib/ssr","version":"1.3.0","main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"directories":{"dist":"dist"},"publishConfig":{"access":"public"},"devDependencies":{"@biomejs/biome":"2.5.6","@irpclib/http":"1.2.25","@types/bun":"1.3.1","@types/node":"24.9.1","publint":"0.3.15","rimraf":"6.0.1","tsdown":"0.15.9","typescript":"5.9.3","vite":"8.0.10","vitest":"^3.2.4"},"dependencies":{"@anchorlib/core":"1.3.0","@anchorlib/router":"1.3.0"},"optionalDependencies":{"@irpclib/http":"1.3.0","@irpclib/irpc":"1.3.0","@irpclib/ws":"1.3.0"},"scripts":{"dev":"rimraf dist && tsdown --watch ./src","clean":"rimraf dist","build":"bun run clean && tsdown && publint","format":"biome format --write","test":"rimraf coverage && vitest --run","test:preview":"rimraf coverage && vitest --run && vite preview --outDir coverage","prepublish":"bun run format && bun run build"},"license":"MIT","_id":"@anchorlib/ssr@1.3.0","_integrity":"sha512-KxwLKHB05yZ2ZC1aQIC6DIncCoEkpFH6v1Z1YC8dxXE02m5kobI5wlZ7HZY2tI37weNBuequlEYndRrIPCEx4w==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"d98e9ab57ceb9b2f7bc192f5ab1bdf6e9ce69b70","dist":{"integrity":"sha512-KxwLKHB05yZ2ZC1aQIC6DIncCoEkpFH6v1Z1YC8dxXE02m5kobI5wlZ7HZY2tI37weNBuequlEYndRrIPCEx4w==","shasum":"d98e9ab57ceb9b2f7bc192f5ab1bdf6e9ce69b70","tarball":"https://registry.npmjs.org/@anchorlib/ssr/-/ssr-1.3.0.tgz","fileCount":18,"unpackedSize":29268,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC3JFPZAderdTGUapBRvZw7CXBQiwv9bEukCeQFhygN6gIhAKyxZC8lKgzIvNqMLMTk17DyJKDIpsO6o7df+JdV4yLX"}]},"_npmUser":{"name":"mahdaen","email":"mahdaen@gmail.com"},"maintainers":[{"name":"mahdaen","email":"mahdaen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ssr_1.3.0_1786275534978_0.9689766631377417"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-09T11:38:54.775Z","1.3.0":"2026-08-09T11:38:55.108Z","modified":"2026-08-09T11:38:55.385Z"},"maintainers":[{"name":"mahdaen","email":"mahdaen@gmail.com"}],"license":"MIT","readme":"# @anchorlib/ssr\n\nA framework-agnostic Server-Side Rendering core for the AIR stack. Part of the Anchor library ecosystem.\n\n## Features\n\n- **Unified Configuration** - Centralized SSR worker and UI orchestrator via `createApp`\n- **Dependency Inverted UI** - Pure logic core entirely decoupled from React/Solid syntax\n- **Generic Asset Resolution** - Resolves and serves assets across Bun, Node, Deno, and Cloudflare\n- **IRPC Orchestration** - Seamlessly integrates with `@irpclib/http` routers via structural typing\n\n## Installation\n\n```bash\nnpm install @anchorlib/ssr\n# or\nbun add @anchorlib/ssr\n```\n\n## Scripts\n\n| Script | Description |\n|--------|-------------|\n| `dev` | Start development mode with watch |\n| `build` | Build for production |\n| `test` | Run tests with Vitest |\n| `test:preview` | Run tests and preview coverage |\n| `format` | Format code with Biome |\n\n## License\n\nMIT\n","readmeFilename":"readme.md","_rev":"1-e734f899e7222b85e2fe67cc714d77c9"}