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

iab-vast-parser

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iab-vast-parser

Parses IAB VAST tags into iab-vast-model objects.

  • 0.7.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

iab-vast-parser

npm Dependencies Build Status Coverage Status JavaScript Standard Style

Parses IAB VAST tags into iab-vast-model objects.

Usage

import parseVAST from 'iab-vast-parser'

const xmlStr = '<VAST version="3.0">...</VAST>'
const vast = parseVAST(xmlStr)
// ... Do your thing ...

API

parseVAST(xml[, options])

The parameter xml can be either an XML string, or a parsed VAST DOM Document or Element.

Currently, one option is supported: you can pass in a DOMParser instance via the domParser key. If you don't do so, a new DOMParser will be created on the fly.

Maintainer

Tim De Pauw

License

MIT

FAQs

Package last updated on 04 Oct 2017

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