# @junejs/server

> June host adapters + dev server. Host-coupled; depends on the pure @junejs/core contract layer.

Latest version **0.2.2** (published 2026-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @junejs/server
pnpm add @junejs/server
yarn add @junejs/server
bun add @junejs/server
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2026-10-19 |
| First published | 2026-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 6 |
| Unpacked size | 893.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 6 |
| Maintainers | linyiru |

## Links

- npm: https://www.npmjs.com/package/@junejs/server
- Repository: https://github.com/junebuild/june
- Homepage: https://june.build
- Issues: https://github.com/junebuild/june/issues
- npm.io page: https://npm.io/package/@junejs/server

## Dependencies (6)

- [rolldown](https://npm.io/package/rolldown.md) ^1.1.0
- [@junejs/db](https://npm.io/package/@junejs/db.md) ^0.2.2
- [oxc-parser](https://npm.io/package/oxc-parser.md) ^0.152.0
- [lightningcss](https://npm.io/package/lightningcss.md) ^1.27.0
- [@resvg/resvg-wasm](https://npm.io/package/@resvg/resvg-wasm.md) ^2.6.2
- [@momiji-rs/sparkdown](https://npm.io/package/@momiji-rs/sparkdown.md) ^0.0.4

## Recent versions

- 0.2.2 (latest) — 2026-10-19
- 0.2.1 (dev) — 2026-10-14
- 0.2.0 — 2026-10-14
- 1.0.0-dev.47 — 2026-10-12
- 0.1.3 — 2026-09-30
- 1.0.0-dev.45 — 2026-09-30
- 0.1.2 — 2026-09-29
- 1.0.0-dev.42 — 2026-09-29
- 1.0.0-dev.36 — 2026-09-28
- 1.0.0-dev.29 — 2026-09-28
- 1.0.0-dev.28 — 2026-09-28
- 1.0.0-dev.27 — 2026-09-27
- 1.0.0-dev.25 — 2026-09-27
- 1.0.0-dev.24 — 2026-09-27
- 1.0.0-dev.20 — 2026-08-12
- … 79 more at https://npm.io/package/@junejs/server/versions

## README

# @junejs/server

June's host layer: the dev server, the render pipeline, the build (Workers
bundle), and the host adapters (Bun / Node — detected at runtime). Depends
inward on the pure `@junejs/core` contract layer; apps usually consume this
through `@junejs/cli` rather than directly. **Preview (0.0.x): APIs will
change.**

```ts
import { createApp, loadJuneConfig } from "@junejs/server";

const app = createApp({ appDir, config: await loadJuneConfig(root) });
// a June app is one Web-standard fetch handler
export default { fetch: (req: Request) => app.fetch(req) };
```

Site & docs: [june.build](https://june.build).

---
_Source: https://npm.io/package/@junejs/server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
