node-addon-examples VS Node-Core

Compare node-addon-examples vs Node-Core and see what are their differences.

node-addon-examples

Node.js C++ addon examples from http://nodejs.org/docs/latest/api/addons.html (by nodejs)

Node-Core

This repository contains Node-Core's source code written in C++. (by metahashorg)
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
node-addon-examples Node-Core
3 3
2,523 4
0.4% -
6.2 1.8
9 days ago over 3 years ago
C++ C++
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of node-addon-examples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-14.
  • Vulnerabilities in NodeJS C/C++ add-on extensions
    3 projects | dev.to | 14 Aug 2024
    Looking at the provided examples, we can see that in some examples , assert is used to check the return value of some functions. However, if an assert is reached by tainted values (from the javascript code) during the program execution, it can lead to a crash (DoS). While reviewing some projects, we found several occurrences of reachable asserts in the code logic, so I thought it’s worth mentioning as part of the previous list.
  • Calling C++ from nodejs
    3 projects | /r/cpp_questions | 20 Apr 2022
    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?
    1 project | /r/node | 8 Feb 2022
    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.

Node-Core

Posts with mentions or reviews of Node-Core. We have used some of these posts to build our list of alternatives and similar projects.
  • Project progress - Apr 2, 2021
    1 project | /r/metahash | 16 Jun 2021
    In the middle of the week, users faced some operational problems. After the Cores update (already available on GitHub), all works correctly.
  • Project progress - Feb 26, 2021
    1 project | /r/metahash | 16 Jun 2021
    Over the past week the Cores code was improved. Most of the work was done at the beginning of the week, then the new code version was in testing. Now the devs are adding a little more updates — you can follow the changes on GitHub right now.
  • Project progress - Feb 19, 2021
    1 project | /r/metahash | 16 Jun 2021
    For those who have not yet visited our GitHub, here is a list of some code changes.

What are some alternatives?

When comparing node-addon-examples and Node-Core you can also consider the following projects:

Node-Torrent - This repository contains the torrent node source code written in C++.

node-webrtc - node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87

node-addon-api - Module for using Node-API from C++

pnpm - Fast, disk space efficient package manager

verge - Official Verge Core Source Code Repository :muscle:

Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

nan - Native Abstractions for Node.js

crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!

llnode - An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.

obs-studio-node - libOBS (OBS Studio) for Node.Js, Electron and similar tools

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Did you know that C++ is
the 7th most popular programming language
based on number of references?