Created
February 16, 2016 14:45
-
-
Save gabrielschulhof/1455ac9fd7d5cd416522 to your computer and use it in GitHub Desktop.
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
{ | |
"targets": [ { | |
"target_name": "npmtmp", | |
"sources": [ "tmp.cc" ], | |
"include_dirs": [ "<!(node -e \"require('nan')\")" ] | |
} ] | |
} |
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
{ | |
"name": "npmtmp", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"nan": "^2.2.0" | |
} | |
} |
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
#include <nan.h> | |
NAN_MODULE_INIT(init) {} | |
NODE_MODULE(npmtmp, init) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment