3.1.1 • Published 9 days ago

@iabgpp/stub v3.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 days ago

@iabgpp/stub

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

Installation

npm install @iabgpp/stub

Using

include via module loading
import * as cmpstub from "@iabgpp/stub";

or

const cmpstub = require("@iabgpp/stub");

then execute:

cmpstub();

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

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

cd iabgpp-es/modules/stub/

npm install

npm run build

Built stub will be output to ./lib

Getting queue of commands
__gpp("ping", function (data, success) {
  console.log("ping success: " + success + " data: " + JSON.stringify(data));
});
3.1.1

9 days ago

3.1.0

9 months ago

3.0.10

1 year ago

3.0.9

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago