didomi-iabtcf-cli

Decode a iab TCF (Transparency and Consent Framework) TC String via the command line

Usage no npm install needed!

<script type="module">
  import didomiIabtcfCli from 'https://cdn.skypack.dev/didomi-iabtcf-cli';
</script>

README

NPM version npm module downloads per month InteractiveAdvertisingBureau

didomi-iabtcf-cli

command line decoding of iab TC String

Installation

npm

npm install -g didomi-iabtcf-cli

yarn

yarn add -g didomi-iabtcf-cli

Using

! tcstring COrVd1pOrVd1pACABCENAHCAAAAAAAAAAAiQAAAAAAAA
encoded: "COrVd1pOrVd1pACABCENAHCAAAAAAAAAAAiQAAAAAAAA"
version: 2
cmpId: 2
cmpVersion: 1
consentScreen: 2
consentLanguage: "EN"
created: Mon Dec 09 2019 18:01:46 GMT-0800 (Pacific Standard Time)
lastUpdated: Mon Dec 09 2019 18:01:46 GMT-0800 (Pacific Standard Time)
policyVersion: 2
isServiceSpecific: false
useNonStandardStacks: false
purposeOneTreatment: false
publisherCountryCode: "ES"
supportOOB: false
vendorListVersion: 7
purposeConsents
purposeLegitimateInterest
specialFeatureOptIns
publisherCustomConsents
publisherLegitimateInterest
publisherCustomConsents
publisherCustomLegitimateInterest
vendorConsents
vendorLegitimateInterest
vendorsDisclosed
vendorsAllowed