Created
October 25, 2017 05:01
-
-
Save ramirezd42/3840fbe5c3ed5d36e75ef7f117ffcf36 to your computer and use it in GitHub Desktop.
ex_1 js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var addon = require('bindings')('addon'); | |
addon(function(msg){ | |
console.log(msg); // 'hello world' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment