JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 604528
  • Score
    100M100P100Q174991F
  • License MIT

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

Package Exports

  • @emotion/server
  • @emotion/server/create-instance
  • @emotion/server/package.json

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.

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