{"_id":"@cookiehub/iabtcf-stub","_rev":"13-e09cc31cd17a4ffa29ec2d078474283f","name":"@cookiehub/iabtcf-stub","dist-tags":{"latest":"1.5.22"},"versions":{"1.5.6-3":{"name":"@cookiehub/iabtcf-stub","version":"1.5.6-3","keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"author":{"name":"Chris Paterson","email":"tcf@chrispaterson.io"},"license":"Apache-2.0","_id":"@cookiehub/iabtcf-stub@1.5.6-3","maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"homepage":"https://iabtcf.com/","dist":{"shasum":"a19bdc9b18504a384c5f887f5896bfefb63784fa","tarball":"https://registry.npmjs.org/@cookiehub/iabtcf-stub/-/iabtcf-stub-1.5.6-3.tgz","fileCount":5,"integrity":"sha512-v5yp7tr+hD2EOEmASpYzU0/Lf6Xy5GBbMmSyHmnIXDF18PpYaGTJz17dIxuwJhBoBS9hox/YOzCGGqWCQxq+pw==","signatures":[{"sig":"MEUCIB6NnBh96sjFQBwn5V2Ef2MzHC7I5CpGB+x4JXJ8n8ivAiEAmCFYHMOEQ0q1TBG0nkhYjaSX/K+ZrGpV3A3LVXsKWjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4141},"main":"lib/stub.js","scripts":{"lint":"exit 0","build":"rm -rf lib && mkdir lib ; babel src/stub.js | terser -m -c -o lib/stub.js","build-dev":"rm -rf lib && ln -s src lib","preversion":"echo 'woops I think you meant to go to the root' && exit 1"},"_npmUser":{"name":"cookiehub","email":"accounts@cookiehub.com"},"repository":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","type":"git","directory":"modules/stub"},"description":"CMP API Stub code","directories":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"6.8.0","terser":"^4.8.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/helper-validator-identifier":"^7.10.4"},"_npmOperationalInternal":{"tmp":"tmp/iabtcf-stub_1.5.6-3_1699979376793_0.9790382885866016","host":"s3://npm-registry-packages"}},"1.5.6-4":{"name":"@cookiehub/iabtcf-stub","version":"1.5.6-4","keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"author":{"name":"Chris Paterson","email":"tcf@chrispaterson.io"},"license":"Apache-2.0","_id":"@cookiehub/iabtcf-stub@1.5.6-4","maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"homepage":"https://iabtcf.com/","bugs":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues"},"dist":{"shasum":"391baa5cc07f4ef5b8fce99372de90a5dcf1a12b","tarball":"https://registry.npmjs.org/@cookiehub/iabtcf-stub/-/iabtcf-stub-1.5.6-4.tgz","fileCount":2,"integrity":"sha512-x+pEHEuxTSVB81nwnZPN6h47JhGHfqQZ5FIV9K7nvIbGsAwA5mYm/GbJ79VMwN+Q5i98eRKo12yY2P4Fx4Txzw==","signatures":[{"sig":"MEUCIQC6/cAzZ8qMnq2gUlxaduJ52UOGSqCZ0w8cK/yv4NbXhwIgb++O6Nb+yjeVasSQJuYAa/qLC2muVEk31JZdOZ9p1NQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2817},"main":"lib/stub.js","gitHead":"98abbdcd1426f4d7c9404dee65a094b71ef274ab","scripts":{"lint":"exit 0","build":"rm -rf lib && mkdir lib ; babel src/stub.js | terser -m -c -o lib/stub.js","build-dev":"rm -rf lib && ln -s src lib","preversion":"echo 'woops I think you meant to go to the root' && exit 1"},"_npmUser":{"name":"cookiehub","email":"accounts@cookiehub.com"},"repository":{"url":"git+https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","type":"git","directory":"modules/stub"},"_npmVersion":"9.6.7","description":"CMP API Stub code","directories":{},"_nodeVersion":"18.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"6.8.0","terser":"^4.8.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/helper-validator-identifier":"^7.10.4"},"_npmOperationalInternal":{"tmp":"tmp/iabtcf-stub_1.5.6-4_1737539084255_0.9794695167877745","host":"s3://npm-registry-packages-npm-production"}},"1.5.6-5":{"name":"@cookiehub/iabtcf-stub","version":"1.5.6-5","keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"author":{"name":"Chris Paterson","email":"tcf@chrispaterson.io"},"license":"Apache-2.0","_id":"@cookiehub/iabtcf-stub@1.5.6-5","maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"homepage":"https://iabtcf.com/","dist":{"shasum":"a3044ed12634cce88d90a1ddd3508f8193f6430e","tarball":"https://registry.npmjs.org/@cookiehub/iabtcf-stub/-/iabtcf-stub-1.5.6-5.tgz","fileCount":5,"integrity":"sha512-QK2o6ShYVxyZB3O7s9qDZSdkOidbGWK7P5Mnps0PTRgBO5FRDVb1SStXKduVlJVEigibNNbV82nkoUY9gQI5Qw==","signatures":[{"sig":"MEQCIGQT/3BCYvESCinGtPv0ekxOFZ4ASC6fwrU0k8mKaRShAiBZ1SAF7mDxkKCxPw/ygcP5KsCLo/fV/7hAU9o7rGga7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4141},"main":"lib/stub.js","scripts":{"lint":"exit 0","build":"rm -rf lib && mkdir lib ; babel src/stub.js | terser -m -c -o lib/stub.js","build-dev":"rm -rf lib && ln -s src lib","preversion":"echo 'woops I think you meant to go to the root' && exit 1"},"_npmUser":{"name":"cookiehub","email":"accounts@cookiehub.com"},"repository":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","type":"git","directory":"modules/stub"},"description":"CMP API Stub code","directories":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"6.8.0","terser":"^4.8.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/helper-validator-identifier":"^7.10.4"},"_npmOperationalInternal":{"tmp":"tmp/iabtcf-stub_1.5.6-5_1737624487136_0.8317540319869101","host":"s3://npm-registry-packages-npm-production"}},"1.5.20":{"name":"@cookiehub/iabtcf-stub","version":"1.5.20","keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"author":{"name":"Mayank Mishra","email":"mayank@iabtechlab.com"},"license":"Apache-2.0","_id":"@cookiehub/iabtcf-stub@1.5.20","maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"homepage":"https://iabtcf.com/","bugs":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues"},"dist":{"shasum":"052735485839827a8f67a279903ae9905ad4d5cc","tarball":"https://registry.npmjs.org/@cookiehub/iabtcf-stub/-/iabtcf-stub-1.5.20.tgz","fileCount":3,"integrity":"sha512-HddJnxoAldAEYi2jIbwM0CIoC9KG/4mGBzuNCFPWLu7mFaaio8xu7KmPAUGki0/ZqfnO7KRpzN/Zix0D/voqNw==","signatures":[{"sig":"MEYCIQCosnX87ultyJIt53NoI+S7DffVzwRon3aZJVk14lhu9QIhAMT7t1RssaFoDsSLFLykSB/asFBevdw3MCQJeE+yEKBS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4171},"main":"lib/stub.js","scripts":{"lint":"exit 0","build":"rm -rf lib && mkdir lib ; babel src/stub.js | terser -m -c -o lib/stub.js","build-dev":"rm -rf lib && ln -s src lib","preversion":"echo 'woops I think you meant to go to the root' && exit 1"},"_npmUser":{"name":"cookiehub","email":"accounts@cookiehub.com"},"repository":{"url":"git+https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","type":"git","directory":"modules/stub"},"_npmVersion":"6.4.1","description":"CMP API Stub code","directories":{},"_nodeVersion":"10.15.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"6.8.0","terser":"^4.8.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/helper-validator-identifier":"^7.10.4"},"_npmOperationalInternal":{"tmp":"tmp/iabtcf-stub_1.5.20_1767716352415_0.024348417023737357","host":"s3://npm-registry-packages-npm-production"}},"1.5.22":{"name":"@cookiehub/iabtcf-stub","version":"1.5.22","description":"CMP API Stub code","author":{"name":"Mayank Mishra","email":"mayank@iabtechlab.com"},"homepage":"https://iabtcf.com/","license":"Apache-2.0","main":"lib/stub.js","scripts":{"preversion":"echo 'woops I think you meant to go to the root' && exit 1","build":"rm -rf lib && mkdir lib ; babel src/stub.js | terser -m -c -o lib/stub.js","build-dev":"rm -rf lib && ln -s src lib","lint":"exit 0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/helper-validator-identifier":"^7.10.4","@babel/preset-env":"^7.7.6","eslint":"6.8.0","terser":"^4.8.1"},"publishConfig":{"access":"public"},"keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"repository":{"type":"git","url":"git+https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","directory":"modules/stub"},"bugs":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues"},"_id":"@cookiehub/iabtcf-stub@1.5.22","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"cookiehub","email":"accounts@cookiehub.com"},"dist":{"integrity":"sha512-oS07/Uw+M2p9pufXecGszejQKae+Ejxj1z2rhMSYyawIGKUg3f78T7HJElW/BqGx5962a2yP40iVV1WdB4+G1A==","shasum":"6fd249a772f98d4dd9c163fd86cf6d1a53363650","tarball":"https://registry.npmjs.org/@cookiehub/iabtcf-stub/-/iabtcf-stub-1.5.22.tgz","fileCount":3,"unpackedSize":4171,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID1y/rT65Via9IlxhdytaZcubWLJ05kgBa/3unvrYeZMAiAUDdoUESce1gmX3+8D26XZomkRPKTo97TncEvftbdC9w=="}]},"directories":{},"maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/iabtcf-stub_1.5.22_1788957022556_0.7753754746139048"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-14T16:29:36.655Z","modified":"2026-09-09T12:30:22.858Z","1.5.6":"2023-09-27T11:19:25.092Z","1.5.6-1":"2023-09-27T14:49:13.229Z","1.5.6-3":"2023-11-14T16:29:37.060Z","1.5.6-4":"2025-01-22T09:44:44.439Z","1.5.6-5":"2025-01-23T09:28:07.330Z","1.5.20":"2026-01-06T16:19:12.564Z","1.5.22":"2026-09-09T12:30:22.688Z"},"bugs":{"url":"https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues"},"author":{"name":"Mayank Mishra","email":"mayank@iabtechlab.com"},"license":"Apache-2.0","homepage":"https://iabtcf.com/","keywords":["interactive","advertising","bureau","iab","transparency","consent","consentstring","tcstring","gvl","vendor","framework","tcf","lib","library","cmp","2.0","v2.0","v2","software","development","api","kit","sdk","gdpr"],"repository":{"type":"git","url":"git+https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git","directory":"modules/stub"},"description":"CMP API Stub code","maintainers":[{"name":"cookiehub","email":"accounts@cookiehub.com"}],"readme":"[![NPM version](https://img.shields.io/npm/v/@cookiehub/iabtcf-stub.svg?style=flat-square)](https://www.npmjs.com/package/@cookiehub/iabtcf-stub)\n[![npm module downloads per month](http://img.shields.io/npm/dm/@cookiehub/iabtcf-stub.svg?style=flat)](https://www.npmjs.org/package/@cookiehub/iabtcf-stub)\n[![InteractiveAdvertisingBureau](https://circleci.com/gh/InteractiveAdvertisingBureau/iabtcf-es.svg?style=shield)](https://circleci.com/gh/InteractiveAdvertisingBureau/iabtcf-es)\n\n# @cookiehub/iabtcf-stub\n\nCmp API Stub code.  Maybe included in commonjs loader or dropped directly on the page.\n\n#### Installation\n\nnpm\n```\nnpm install @cookiehub/iabtcf-stub\n```\n\nyarn\n```\nyarn add @cookiehub/iabtcf-stub\n```\n#### Using\n\n##### include via module loading\n```javascript\nimport * as cmpstub from '@cookiehub/iabtcf-stub';\n```\nor\n\n```javascript\nconst cmpstub = require('@cookiehub/iabtcf-stub');\n```\n\nthen execute:\n\n```javascript\ncmpstub();\n```\nthis should generate the `__tcfapi()` window function with the queing functionality.\n\n##### to drop on a page\n```\ngit clone https://github.com/InteractiveAdvertisingBureau/iabtechlabtcf-es.git\n\ncd iabtechlabtcf-es/modules/stub/\n\nyarn // or npm install\n\nyarn build // or npm run build\n```\n\nBuilt stub will be output to ./lib\n\n##### Getting queue of commands\n\n```javascript\nconst queue = __tcfapi();\nconsole.log(queue); // [ ['command', 2, callback], ...]\n```\n","readmeFilename":"README.md"}