@emabuild/shared

v0.6.0

Published

Internal building blocks shared by the @emabuild packages (HTTP adapters, image search)

Readme

@emabuild/shared

Internal building blocks shared by the @emabuild packages. You normally get it as a dependency of @emabuild/core, @emabuild/email-renderer, @emabuild/ai or @emabuild/export and do not install it directly.

| Entry | Contents | |---|---| | @emabuild/shared | Isomorphic helpers: CSS value safety (cleanCssValue, isSafeCssValue), design metadata (documentTitle, documentLanguage, bodyFontWeight, allRows), free-image search (searchOpenverse) | | @emabuild/shared/node | Node adapters: toNodeHandler (Fetch handler → Node / Express) and CORS headers |

The API follows the other @emabuild packages' versions but is not meant to be stable on its own.

License

MIT