Configuration Reference

All options are passed to c15tInstance(). Only adapter and trustedOrigins are required.

Options

Loading…
Loading…
Loading…
Loading…
Loading…
Loading…

Return Value

c15tInstance() returns:

Edge Init Options

unstable_c15tEdgeInit() from @c15t/backend/edge accepts a subset of C15TOptions — only the fields needed for consent policy resolution without a database. This edge runtime API is unstable in 2.0. See the Edge Deployment guide for usage.

Loading…

defineConfig Helper

For type-safe configuration in a separate file: