Skip to content

holepunchto/bare-link

Repository files navigation

bare-link

Native addon linker for Bare.

npm i [-g] bare-link

Usage

const link = require('bare-link')

await link('/path/to/module', { target: ['darwin-arm64', 'ios-arm64'] })
bare-link --target darwin-arm64 --target ios-arm64

API

await link([base][, options])

Options include:

{
  target: [],
  needs: [],
  out: '.',
  stdio
}

CLI

bare-link [flags] <entry>

Flags include:

--target|-t <host>
--needs <lib>
--out|-o <dir>
--help|-h

License

Apache-2.0

About

Native addon linker for Bare

Resources

License

Stars

Watchers

Forks