Tool for recursively prebuilding installed native addons from source.
npm i [-g] bare-prebuild
const prebuild = require('bare-prebuild')
await prebuild('/path/to/module')
bare-prebuild
Options include:
{
platform: os.platform(),
arch: os.arch(),
simulator: false,
sanitize,
debug,
define,
verbose: false,
stdio
}
Flags include:
--platform|-p <name>
--arch|-a <name>
--simulator
--debug|-d
--sanitize <name>
--define|-D <var>[:<type>]=<value>
--verbose
--help|-h
Apache-2.0