node-bare-bundle

1.4.2 • Public • Published

node-bare-bundle

Run a Bare bundle in a Node.js environment.

npm install node-bare-bundle

Usage

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' })

License

Apache-2.0

Dependents (0)

Package Sidebar

Install

npm i node-bare-bundle

Weekly Downloads

33

Version

1.4.2

License

Apache-2.0

Unpacked Size

17.4 kB

Total Files

4

Last publish

Collaborators

  • mafintosh