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