Coder Social home page Coder Social logo

pombredanne / node-addon-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from springmeyer/node-addon-example

0.0 1.0 0.0 16 KB

Sample starter application for a Node C++ addon packaged with node-pre-gyp

License: BSD 2-Clause "Simplified" License

C++ 28.41% Python 47.62% JavaScript 23.96%

node-addon-example's Introduction

node-addon-example

Build Status

Sample application of a Node C++ addon packaged with node-pre-gyp.

If you are interested in learning how to write C++ addons see the official guide.

This repo is intended as starter code for your own C++ module - feel free to copy and modify. The docs below are meant to be a template for how you might document your module once packaged with node-pre-gyp.

Depends

  • Node.js 0.10.x, 0.12.x, 4, or 5

Install

Install from binary:

npm install

Install from source:

npm install --build-from-source

Developing

The node-pre-gyp tool is used to handle building from source and packaging.

Simply run:

./node_modules/.bin/node-pre-gyp build

Packaging

./node_modules/.bin/node-pre-gyp build package

Publishing

./node_modules/.bin/node-pre-gyp publish

node-addon-example's People

Contributors

springmeyer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.