Simple JavaScript parser for transparency and consent strings compatible with TCF 2.0.
npm install tc-string-parseSimple JavaScript parser for transparency and consent strings compatible with TCF 2.0.
Parser is available as NPM package:
npm install tc-string-parse
``js
const tcStringParse = require('tc-string-parse');
const consentString = ''; // your consent string
const consentModel = tcStringParse(consentString);
`
`html
`
`shell``
tc-string-parse