@c15t/dev-tools
v3.1.0
Published
Developer tools for debugging cookie consent in c15t apps. Inspect consent state, resolved policy, location, IAB TCF state and kernel events.
Readme
@c15t/dev-tools: Kernel-first consent debugging
Framework-neutral developer tools for inspecting c15t v3 consent state, resolved policy, location, IAB state, kernel events, and actions.
c15t is used by 2,100+ sites, including expo.dev, zed.dev, unkey.dev, mintlify.com, and sazabi.com.
Key Features
- Explicit ConsentKernel binding with no global store discovery
- Isolated state and event history for multiple providers
- Framework-neutral DOM panel for consent, location, policy, IAB, events, and actions
- Typed kernel event capture without callback instrumentation
Prerequisites
- Node.js 20.19 or later
- A c15t v3 ConsentKernel
- A browser DOM
Installation
Framework adapters include this engine, so React, Next.js, Vue, and Svelte applications do not need to install it separately. Install it directly only for the imperative API:
pnpm add -D @c15t/dev-toolsUsage
- Create the engine with
createDevTools({ kernel }) - Call
destroy()when the kernel owner unmounts - Use the framework adapter when the kernel is held in framework context
- Load DevTools only during development
Documentation
See the documentation for guides, API reference, and examples.
Support
- Join our Discord community
- Open an issue on our GitHub repository
- Visit inth.com and use the chat widget
- Contact our support team via email [email protected]
Contributing
- Read the contribution guidelines before you open a pull request
- Follow the code of conduct
Security
Do not open a public issue for a security vulnerability. Report it privately through GitHub's vulnerability reporting. We examine every valid report.
- Do not share the vulnerability in public forums, issues, or pull requests
- Give the steps to reproduce it and the versions it affects
- Give us time to release a fix before you disclose it
License
Built by Inth
