node-addon-examples
nan
node-addon-examples | nan | |
---|---|---|
2 | 5 | |
2,425 | 3,247 | |
0.3% | 0.2% | |
6.1 | 5.1 | |
2 days ago | about 2 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-addon-examples
-
Calling C++ from nodejs
Yeah, that's the only place I found a napi.h file, so I think tutorials using that are assuming the node-addon-api? Anyways checking out examples like this, https://github.com/nodejs/node-addon-examples/blob/7ca7b6d03c1acb72fe292b4be468009534a20ff3/2_function_arguments/node-addon-api/addon.cc, it actually looks pretty easy to use to call C++ functions in node
-
What should be the correct way to send to the front-end the napi_values I receive from the native-addon?
I am trying to communicate this native addon with the front-end. It consists of a prime number generator, when it is executed it writes to the console, I want it to send them via Sockets to the browser console.
nan
- What's the "modern" way of creating a native addon for Node.js?
-
Node.js vs. Python: How to choose the best technology to develop your backend
TypeScript has gained popularity in recent years, and to put things into perspective, it has over 29 million weekly downloads on npm. According to the Stack Overflow 2021 developer survey, it is ranked as the third most-loved programing language, beating Python, Node.js, and JavaScript itself. To learn how to set up TypeScript with node, see this article.
-
How to read audio data from a 'MediaStream' object in a C++ addon
After sweating blood and tears I've finally managed to set up a Node C++ addon and shove a web-platform standard MediaStream object into one of its C++ methods for good. For compatibility across different V8 and Node.js versions, I'm using Native Abstractions for Node.js (nan):
- Node Bindings untuk binding dari C++ pada Node.js
- How do i integrate C++ backend with electron GUI?
What are some alternatives?
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
node-addon-api - Module for using Node-API from C++
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
Banshee
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
execa - Process execution for humans
Node-Torrent - This repository contains the torrent node source code written in C++.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
pnpm - Fast, disk space efficient package manager
editly - Slick, declarative command line video editing & API