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

Package Sidebar

Install

npm i bindingify

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • juliangruber
  • yoshuawuyts