Vast management module.
npm install vastjs
const Vast = require('vastjs');
const vast = new Vast();
vast.load('path/to/vast-url').then(() => {
console.log(vast.duration);
console.log(vast.media('video/mp4', 6000));
vast.timeupdate(22.5);
});
Apache-2.0