Skip to content

Tool for recursively prebuilding installed native addons from source

License

Notifications You must be signed in to change notification settings

holepunchto/bare-prebuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tool for recursively prebuilding installed native addons from source

Resources

License

Stars

Watchers

Forks