Addons Node.js v0.12.2 Manual & Documentation

Home Downloads Docs Community About Jobs Blog <img src="/images/logo-light.svg" alt="node.js" width="170"> About Docs Tutorials Contributing Localization API Docs Index | View on single page | View as JSON Addons Hello world Addon patterns Function arguments Callbacks Object factory Function factory Wrapping C++ objects Factory of wrapped objects Passing wrapped objects around # Addons are dynamically linked shared objects. They can provide glue to C and C++ libraries. The API (at the moment) is rather complex, involving knowledge of several libraries: V8 JavaScript, a C++ library. Used for interfacing with JavaScript: creating objects, calling functions, etc. Documented mostly in the v8.h header file ( deps/v8/include/v8.h in the Node source tree), which is also available online . libuv , C event loop library. Anytime one needs to wait for a file descr...

Linked on 2015-04-09 02:38:08 | Similar Links