1.5.3 • Published 3 months ago

@iabtcf/stub v1.5.3

Weekly downloads
1,809
License
Apache-2.0
Repository
github
Last release
3 months ago

NPM version npm module downloads per month InteractiveAdvertisingBureau

@iabtcf/stub

Cmp API Stub code. Maybe included in commonjs loader or dropped directly on the page.

Installation

npm

npm install @iabtcf/stub

yarn

yarn add @iabtcf/stub

Using

include via module loading
import * as cmpstub from '@iabtcf/stub';

or

const cmpstub = require('@iabtcf/stub');

then execute:

cmpstub();

this should generate the __tcfapi() window function with the queing functionality.

to drop on a page
git clone https://github.com/InteractiveAdvertisingBureau/iabtcf-es.git

cd iabtcf-es/modules/stub/

yarn // or npm install

yarn build // or npm run build

Built stub will be output to ./lib

Getting queue of commands
const queue = __tcfapi();
console.log(queue); // [ ['command', 2, callback], ...]
1.5.3

3 months ago

1.5.0-3

4 months ago

1.5.0-2

5 months ago

1.5.0-0

5 months ago

1.4.0

8 months ago

1.4.0-0

9 months ago

1.3.1

1 year ago

1.3.1-0

1 year ago

1.3.0

1 year ago

1.3.0-2

1 year ago

1.2.1

1 year ago

1.2.1-2

1 year ago

1.2.1-3

1 year ago

1.2.1-1

2 years ago

1.2.0

2 years ago

1.2.1-0

2 years ago

1.1.4

2 years ago

1.1.1

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.1.0-6

2 years ago

1.1.0-5

2 years ago

1.1.0-4

2 years ago

1.1.0-3

2 years ago

1.1.0-2

2 years ago

1.1.0-1

2 years ago

1.1.0-0

2 years ago

1.0.2-5

2 years ago

1.0.2-4

2 years ago

1.0.2-3

2 years ago

1.0.2-1

2 years ago

1.0.2-0

2 years ago

1.0.1

2 years ago

1.0.1-4

2 years ago

1.0.1-3

2 years ago

1.0.1-2

2 years ago

1.0.1-0

2 years ago

1.0.0

2 years ago

1.0.0-beta.36

2 years ago

1.0.0-beta.35

2 years ago

1.0.0-beta.34

2 years ago

1.0.0-beta.33

3 years ago

1.0.0-beta.31

3 years ago

1.0.0-beta.32

3 years ago

1.0.0-beta.30

3 years ago

1.0.0-beta.29

3 years ago

1.0.0-beta.28

3 years ago

1.0.0-beta.27

3 years ago

1.0.0-beta.26

3 years ago

1.0.0-beta.25

3 years ago

1.0.0-beta.24

3 years ago

1.0.0-beta.23

3 years ago

1.0.0-beta.22

3 years ago

1.0.0-beta.21

3 years ago

1.0.0-beta.20

3 years ago

1.0.0-beta.19

3 years ago

1.0.0-beta.17

3 years ago

1.0.0-beta.18

3 years ago

1.0.0-beta.16

3 years ago

1.0.0-alpha.15

3 years ago

1.0.0-beta.14

3 years ago

1.0.0-beta.13

3 years ago

1.0.0-beta.11

3 years ago

1.0.0-beta.12

3 years ago

1.0.0-beta.10

3 years ago

1.0.0-beta.9

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago

1.0.0-beta.1

3 years ago