var bindings = require('../build/Release/weakref.node') module.exports = bindings.create // backwards-compat with node-weakref bindings.weaken = bindings.create Object.keys(bindings).forEach(function (name) { module.exports[name] = bindings[name] })