VAST 3.0 client library for JavaScript
CoffeeScript JavaScript
Latest commit 6d1826f Jul 18, 2017 @johansatge johansatge 1.8.0

README.md

Build Status npm version Dependency Status devDependency Status

VAST Javascript Client

Vast Client JS is a Javascript library for parsing Digital Video Ad Serving Template (VAST) documents as close as possible to the Interactive Advertising Bureau (IAB) specification.

This library provides:

  • A VAST parser, which validates the XML and translates it into a JS object.
  • A VAST tracker, which batches the tracking urls and provides methods for calling them.

Complies with VAST 3.0 spec.

Documentation

The client documentation contains the basic information to parse a VAST URL/Document. For more advanced use of the parser, see the parser documentation.

All information about the tracking part can be found in the tracker documentation.

Support

If you need to support legacy browsers (e.g. IE8+), don't forget to include es5.js

Build / Contribute

See CONTRIBUTING