# @emotion/server

> Extract and inline critical css with emotion for server side rendering.

Latest version **11.11.0** (published 2023-05-06) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 11.11.0 |
| Published | 2023-05-06 |
| First published | 2020-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 47.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18017 |
| Author | Kye Hohenberger |
| Maintainers | emmatown, tkh44, emotion-release-bot, andarist |
| Keywords | styles, emotion, react, css, css-in-js, ssr, server-side-rendering |

## Links

- npm: https://www.npmjs.com/package/@emotion/server
- Repository: https://github.com/emotion-js/emotion.git#main
- Homepage: https://emotion.sh
- Issues: https://github.com/emotion-js/emotion/issues
- npm.io page: https://npm.io/package/@emotion/server

## Dependencies (4)

- [through](https://npm.io/package/through.md) ^2.3.8
- [multipipe](https://npm.io/package/multipipe.md) ^1.0.2
- [html-tokenize](https://npm.io/package/html-tokenize.md) ^2.0.0
- [@emotion/utils](https://npm.io/package/@emotion/utils.md) ^1.2.1

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 11.11.0 (latest) — 2023-05-06
- 11.0.0-rc.0 (rc) — 2020-10-11
- 11.0.0-next.10 (next) — 2020-01-05
- 11.10.0 — 2022-07-31
- 11.4.0 — 2021-05-07
- 11.0.0 — 2020-11-12
- 11.0.0-next.19 — 2020-10-03
- 11.0.0-next.17 — 2020-09-09
- 11.0.0-next.16 — 2020-09-08
- 11.0.0-next.15 — 2020-08-18
- 11.0.0-next.14 — 2020-08-01
- 11.0.0-next.13 — 2020-06-22
- 11.0.0-next.12 — 2020-03-17

## README

# @emotion/server

> Extract and inline critical css with emotion.

`@emotion/server` provides three APIs for doing server-side rendering with emotion to extract critical css, inline critical css in html to a string and inline critical css in html to a stream.

[`@emotion/server`'s APIs are documented here.](https://emotion.sh/docs/ssr)

```bash
npm install --save @emotion/css @emotion/server
```

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