bindingify

1.0.1 • Public • Published

bindingify stability

npm version build status test coverage downloads js-standard-style

Transform native bindings to be relative to their file

Usage

$ browserify -t bindingify index.js > bundle.js

Transforms:

require('bindings')('binding.node')

Into:

require('bindings')({bindings: 'binding.node', module_root: __dirname})

Installation

$ npm install bindingify

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i bindingify

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • juliangruber
  • yoshuawuyts