node-addon-examples
pnpm

node-addon-examples | pnpm | |
---|---|---|
3 | 119 | |
2,522 | 30,742 | |
0.4% | 1.7% | |
6.2 | 9.8 | |
4 days ago | 3 days ago | |
C++ | TypeScript | |
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
-
Vulnerabilities in NodeJS C/C++ add-on extensions
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
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.
pnpm
-
Building a Vue 3 App with Vite, TailwindCSS, Pinia, Vue Router, and TypeScript
pnpm or npm or yarn
-
How I Manage Node & Package Manager Versions in 2025
My stack of choice is node and pnpm, but this should work for most commonly used tools.
-
Node.js now supports TypeScript, JavaScript Rising Stars report is out, NEW developer tools and more
pnpm 10
- Build and Deploy a Monorepo WebSocket web application with Turbo, Express, and Vite on Render Using Docker
-
State of JavaScript 2024 Results, GitHub Copilot Now Free, EPIC Developer Tools, and more
The State of JavaScript 2024 survey results GitHub Copilot is now Free Tailwind CSS 4 JerryScript 3.0 Transformers.js v3.2 Bun 1.1.39 & 1.1.40 pnpm Update ESLint v9.17.0
-
Playwright and Chrome Browser Testing in Heroku
Pretty simple. Now, I just needed to change the code to use Playwright instead of Puppeteer and Jest. Oh, and I also wanted to use pnpm instead of npm. Here’s a link to my forked GitHub repo.
-
OAuth using Better_Auth, nextjs, prisma, shadcn and tailwindcss
pnpm Docs: https://pnpm.io/
-
Handling TypeORM migrations in Electron apps
I started with a basic Electron + TypeScript + React project and use pnpm as my package manager. This tutorial assumes you already have a working Electron app.
-
Wow, pnpm, You’re Really Fast
Then, along came pnpm, a package manager that handles package storage differently, saving users space and reducing build time. Here’s how pnpm describes the difference:
- Revisando Node JS
What are some alternatives?
Node-Torrent - This repository contains the torrent node source code written in C++.
Bower - A package manager for the web
node-addon-api - Module for using Node-API from C++
deno - A modern runtime for JavaScript and TypeScript.
Node-Core - This repository contains Node-Core's source code written in C++.
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
yarn - The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
npm
obs-studio-node - libOBS (OBS Studio) for Node.Js, Electron and similar tools
nx - Build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
