UNPKG

node-gtk

Version:

GNOME Gtk+ bindings for NodeJS

14 lines (9 loc) 280 B
/* * native.js */ const binary = require('@mapbox/node-pre-gyp') const path = require('path') const packagePath = path.resolve(path.join(__dirname,'../package.json')) const bindingPath = binary.find(packagePath) const binding = require(bindingPath) module.exports = binding