@coherent.js/express 1.0.0-beta.3 → 1.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,24 @@ Peer dependencies:
22
22
  - `express` >= 4.18 < 6
23
23
  - `@coherent.js/core`
24
24
 
25
+
26
+ ## Exports
27
+
28
+ Express.js adapter for Coherent.js
29
+
30
+ ### Modular Imports (Tree-Shakable)
31
+
32
+ - Express integration: `@coherent.js/express`
33
+ - Middleware setup: `@coherent.js/express`
34
+
35
+ ### Example Usage
36
+
37
+ ```javascript
38
+ import { setupCoherent } from '@coherent.js/express';
39
+ import { renderComponent } from '@coherent.js/express';
40
+ ```
41
+
42
+ > **Note**: All exports are tree-shakable. Import only what you need for optimal bundle size.
25
43
  ## Quick start
26
44
 
27
45
  You can use `@coherent.js/core` rendering inside Express handlers.