node-addon-examples
pnpm
node-addon-examples | pnpm | |
---|---|---|
2 | 96 | |
2,425 | 27,802 | |
0.3% | 1.6% | |
6.1 | 9.8 | |
1 day ago | 4 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
-
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
-
Node package managers (npm, yarn, pnpm) - All you need to know
pnpm
-
Letโs build AI-tools with the help of AI and Typescript!
Pnpm for install Javascript/Typescript packages, like LangChain.js
- Pnpm 9
-
Understanding Dependencies in Programming
Node.js manages dependencies using package managers like npm (Node Package Manager), yarn, and pnpm. npm comes pre-installed with Node.js and allows you to install and uninstall Node.js packages. It uses a package.json file to keep track of which packages your project depends on. Yarn and Pnpm are alternative package managers that aim to improve on npm in various ways, such as improved performance and better lock file format.
-
Manage project dependencies correctly
Use pnpm - This is just one recommendation, but it's too big of a topic to discuss here.
- Bun 1.1
-
Using pnpm with the GitLab package registry in GitLab CI
In this blog post, I explain how to use pnpm in GitLab CI and how to authenticate with a private GitLab package registry.
-
Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration
A package manager such as npm, Yarn, or pnpm. A package manager is a tool that helps you manage the dependencies of your project. You can use any of these package managers to install Jest and other packages.
-
Understanding Redux: A Practical Guide to State Management
Installation: Install Redux and React-Redux using npm or yarn.(you can try pnpm too!)
-
Effective nodejs version management for the busy developer
I also recommend using pnpm as a package manager, it's faster and more efficient than npm or yarn with great capabilities concerning monorepo setup. On recent nodejs versions (v16.13+), you can install it easily with:
What are some alternatives?
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript ๐
nx - Smart Monorepos ยท Fast CI
node-addon-api - Module for using Node-API from C++
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
crystal - ๐ฎ Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
berry - ๐ฆ๐ Active development trunk for Yarn โ
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
yarn - The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
Node-Torrent - This repository contains the torrent node source code written in C++.
deno - A modern runtime for JavaScript and TypeScript.
obs-studio-node - libOBS (OBS Studio) for Node.Js, Electron and similar tools
npm