This repository contains full code listings that help guide you through developing Node.js addons.
Some simple "hello world" type programs, discussed in the first chapter of the ebook.
The same "cheat sheet" as Conversions, but using the NAN API rather than native V8. Covered in Chapter 6 of the ebook.
A set of example addon functions demonstrating NAN's AsyncWorker and AsyncProgressWorker. Covered in Chapter 6 of the ebook.
ObjectWrap example developing a C++ polynomial class. Covered in Chapter 5 of the ebook.
The same Polynomial class, but using NAN instead of direct Node.js API. Covered in Chapter 6 of the ebook.
A set of examples for building and distributing reusable addons. Covered in Chapter 8 of the ebook.