Run a Bare bundle in a Node.js environment.
npm install node-bare-bundle
const runBundle = require('node-bare-bundle')
// only need to pass mount if using preresolved native modules
const exports = runBundle(bundleAsABuffer, { mount: './test.bundle' entrypoint: '/the/entrypoint.js' })
Apache-2.0