{"bugs":{"url":"https://github.com/emotion-js/emotion/issues"},"dist":{"shasum":"40378c4fc691385da8a37862d450619745a65fa4","tarball":"https://registry.npmjs.org/create-emotion/-/create-emotion-11.0.0-next.1.tgz","fileCount":15,"integrity":"sha512-RTKTmvcDBuLACt59+9+rPJnBSgHOM8gy1BVRCWFnnBvuQAwvk92YC6+mVYHsQDTxVKBAESvw43ImYZ0OjQ3zCw==","signatures":[{"sig":"MEYCIQDBzte08U72dKae8Iy3AzC7GGEoexK/4zmJWTx93KpZdQIhALeeHxBvKdBdQ0wD+bGPeAqVHkbiox5tt2xeaKEg1ieg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwdrDCRA9TVsSAnZWagAA0KIQAJGulJDJYTW6dxNqlnQZ\nxtfD+bQOEpnkVhmujBAJFQ9yK6br34RhjX0qICNWOZiNILHhj6+b2GdY4m3+\nB6y364kppugpGJ7DCGKZ1+n+ctFeI/dSWlt+4GvWyh5OrzQxbspgRNKEqs1D\n/LrHOyjWne+fuvZsIsJAHoM3pprQNC/9j6cdWi477IR3SyTXGDXn16Wi1XvN\nqBKtQRyJzARTxlAKC/A4LEaLS2JyahtNKHv66zLuYADY7MWoGLBktWFcQCfd\n10xjOxGtDbpwB6IVpO4CTZCpUmrVwGFDNT7c3gqtxhn5gTauPadq4FA4dSzi\nxoodwAS7jUx9IfL1AZdpxjH7nuWUqClMXFe23kNwOUtVNSIP2ue63a4+Tr2O\nhz3eoo06ViK8PlNuvNIlJDUmFrqMcGho8/QzloZKx0DIRt9r3459eGVL21DF\nc9NbU8pj7lc/VyCghMXpiQf/NIsAqbaRA2q6dCcEjBXiJ6Vu627O7IHKLJQl\nXJUIbd2nvZrBA21o4ztuQ+LCmO17CS3fZmcIoVIHV1r/CmPYgBJ/q775CVTl\nMtZs3emb8O9jgajHnIQD+V8YI6ZQoVf8WIQVNufcolF2194+ItYZKEDKSNjP\nhRGsL3o6ai3e2pXm7K/RkJkhwJpwThWu49tElx4Bh0JMCh+iH2aeg2vGRCvs\nmJA8\r\n=YsvT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/create-emotion.cjs.js","name":"create-emotion","types":"types/index.d.ts","author":{"name":"Kye Hohenberger"},"module":"dist/create-emotion.esm.js","readme":"# create-emotion\n\n### Create distinct instances of emotion.\n\nThe main [emotion](https://github.com/emotion-js/emotion/tree/master/packages/emotion) package can be thought of as a call to `createEmotion` with sensible defaults for most applications.\n\n```javascript\nimport createEmotion from 'create-emotion'\n\nexport const {\n  flush,\n  hydrate,\n  cx,\n  merge,\n  getRegisteredStyles,\n  injectGlobal,\n  keyframes,\n  css,\n  sheet,\n  cache\n} = createEmotion()\n```\n\n### Upside\n\n- Calling it directly will allow for some low level customization.\n\n- Create custom names for emotion APIs to help with migration from other, similar libraries.\n\n- Could set custom `key` to something other than `css`\n\n### Downside\n\n- Introduces some amount of complexity to your application that can vary depending on developer experience.\n\n- Required to keep up with changes in the repo and API at a lower level than if using `emotion` directly\n\n### Primary use cases\n\n- Using emotion in embedded contexts such as an `<iframe/>`\n\n- Setting a [nonce](/packages/cache#nonce-string) on any `<style/>` tag emotion creates for security purposes\n\n- Use emotion with a developer defined `<style/>` tag\n\n- Using emotion with custom stylis plugins\n\n## Multiple instances in a single app example\n\n```jsx\nimport createEmotion from 'create-emotion'\n\nexport const {\n  flush,\n  hydrate,\n  cx,\n  merge,\n  getRegisteredStyles,\n  injectGlobal,\n  keyframes,\n  css,\n  sheet,\n  cache\n} = createEmotion({\n  // The key option is required when there will be multiple instances in a single app\n  key: 'some-key'\n})\n```\n\n## Options\n\n`createEmotion` accepts the same options as [createCache](/packages/cache#options) from `@emotion/cache`.\n","browser":{"./dist/create-emotion.cjs.js":"./dist/create-emotion.browser.cjs.js","./dist/create-emotion.esm.js":"./dist/create-emotion.browser.esm.js"},"license":"MIT","scripts":{"test:typescript":"dtslint types"},"_npmUser":{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},"homepage":"https://emotion.sh","keywords":["styles","emotion","react","css","css-in-js"],"repository":{"url":"https://github.com/emotion-js/emotion/tree/master/packages/create-emotion","type":"git"},"_npmVersion":"6.10.2","description":"The Next Generation of CSS-in-JS.","directories":{},"maintainers":[{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_nodeVersion":"10.17.0","dependencies":{"@emotion/cache":"^11.0.0-next.0","@emotion/sheet":"0.9.3","@emotion/utils":"0.11.2","@emotion/serialize":"^1.0.0-next.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^0.3.0","create-emotion-server":"11.0.0-next.0","babel-plugin-transform-define":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/create-emotion_11.0.0-next.1_1572985539003_0.6385764774526967","host":"s3://npm-registry-packages"},"_id":"create-emotion@11.0.0-next.1","version":"11.0.0-next.1"}