Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-emotion-server

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-emotion-server - npm Package Compare versions

Comparing version 10.0.0-beta.0 to 10.0.0-beta.1

6

package.json
{
"name": "create-emotion-server",
"version": "10.0.0-beta.0",
"version": "10.0.0-beta.1",
"description": "SSR and style extraction tooling for emotion, The Next Generation of CSS-in-JS.",

@@ -23,4 +23,4 @@ "main": "dist/index.cjs.js",

"dtslint": "^0.3.0",
"emotion": "^10.0.0-beta.0",
"react-emotion": "^10.0.0-beta.0"
"emotion": "^10.0.0-beta.1",
"react-emotion": "^10.0.0-beta.1"
},

@@ -27,0 +27,0 @@ "author": "Kye Hohenberger",

@@ -9,4 +9,9 @@ # create-emotion-server

import createEmotionServer from 'create-emotion-server'
import * as emotion from 'my-emotion-instance'
import { cache } from 'my-emotion-instance'
// or
import createCache from '@emotion/cache'
let cache = createCache()
export const {

@@ -16,5 +21,5 @@ extractCritical,

renderStylesToNodeStream
} = createEmotionServer(emotion)
} = createEmotionServer(cache)
```
[All of emotion's SSR APIs are documented in their own doc.](https://emotion.sh/docs/ssr)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc