An open API service indexing awesome lists of open source software.

https://github.com/stories2/native-node-js

Create node module using c++
https://github.com/stories2/native-node-js

c-plus-plus node-gyp nodejs

Last synced: 2 months ago
JSON representation

Create node module using c++

Awesome Lists containing this project

README

          

# Native-Node-JS
Create node module using c++

[Reference](https://github.com/nodejs/node-addon-examples)

## Setup

```
npm install node-gyp -g
npm install bindings --save
npm --add-python-to-path='true' --debug install --global windows-build-tools

# windows
set PYTHON=C:\Users\user\.windows-build-tools\python27\python.exe
```

## configure

```
node-gyp configure
```

## Build

```
node-gyp build
```

## Run from NodeJS

```
node app.js
```