# @netlogix/stencil-hydrate-server

> output target for stencil to generate server for hydrating components

Latest version **1.5.0** (published 2025-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @netlogix/stencil-hydrate-server
pnpm add @netlogix/stencil-hydrate-server
yarn add @netlogix/stencil-hydrate-server
bun add @netlogix/stencil-hydrate-server
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2025-10-23 |
| First published | 2023-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.0.0 |
| Dependencies | 1 |
| Unpacked size | 373.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | 0099ff, nlx-sascha |

## Links

- npm: https://www.npmjs.com/package/@netlogix/stencil-hydrate-server
- Repository: https://github.com/netlogix/stencil-hydrate-server
- Homepage: https://github.com/netlogix/stencil-hydrate-server#readme
- Issues: https://github.com/netlogix/stencil-hydrate-server/issues
- npm.io page: https://npm.io/package/@netlogix/stencil-hydrate-server

## Dependencies (1)

- [rollup](https://npm.io/package/rollup.md) ^4.52.5

## Recent versions

- 1.5.0 (latest) — 2025-10-23
- 1.4.1 — 2025-10-22
- 1.4.0 — 2024-09-25
- 1.3.0 — 2024-07-04
- 1.2.0 — 2024-02-12
- 1.1.2 — 2023-10-06
- 1.1.1 — 2023-09-11
- 1.1.0 — 2023-07-11
- 1.0.0 — 2023-05-30

## README

# @netlogix/stencil-hydrate-server

A Stencil output target to generate server for hydrating components.

## Usage

To use this output target, add it to your `stencil.config.ts`:

```typescript
import { Config } from '@stencil/core';
import { hydrateServerOutputTarget } from '@netlogix/stencil-hydrate-server';

export const config: Config = {
  // ...  
  outputTargets: [
    // ... other output targets
    {
      type: 'dist-hydrate-script',
      dir: 'dist/hydrate',
    },  
    hydrateServerOutputTarget({
      dir: 'dist/hydrate-server',
    }),
  ],
  // ...  
};
```

This will generate server code for hydrating your Stencil components. You can then use the generated code to render your components on the server and send the HTML to the client for faster page load times.

For more information on how to use Stencil output targets, please refer to the [Stencil documentation](https://stenciljs.com/docs/output-targets).

## License
This package is licensed under the MIT license.

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