Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iabgpp/stub

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iabgpp/stub

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

  • 3.1.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@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));
});

FAQs

Package last updated on 30 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc