/iabtcf-es

Official compliant tool suite for implementing the Transparency and Consent Framework (TCF) v2.0. The essential toolkit for CMPs.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

@iabtcf

Official JavaScript / TypeScript compliant tool suite for implementing the Transparency and Consent Framework (TCF) v2.0. The essential toolkit for CMPs.

This is a mono repo containing 5 modules:

Core - For encoding/decoding TC strings and tools for handling the Global Vendor List (GVL).

CmpApi - CMP in-page API (__tcfapi()) tool that works with the core library.

cli - Tool to decode a TC string on the command line interface (cli).

Testing - Tools for testing the core library including random TCModel and GVL generators.

Stub - Code for the on-page __tcfapi() CMP stub.