TCStringParse
Simple JavaScript parser for transparency and consent strings compatible with TCF 2.0.
Installation
Parser is available as NPM package:
npm install tc-string-parse
Usage
NodeJS (>=5.10.0)
const tcStringParse = ; const consentString = ''; // your consent stringconst consentModel = ;
atob polyfill)
Browser (IE 9+ with
Command line
tc-string-parse <your consent string>