vast-inliner is written as a challenge. The aim of this is to turn VAST documents with wrappers into a single VAST document that is InLine.
npm i vast-inline --save
Using it in code
const vastInliner = require('vast-inliner')
or if ES2015 is your thing:
import vastInliner from 'vast-inliner'