nan
Native Abstractions for Node.js (by nodejs)
node-pre-gyp
Node.js tool for easy binary deployment of C++ addons (by mapbox)
nan | node-pre-gyp | |
---|---|---|
5 | 4 | |
3,293 | 1,119 | |
0.2% | 0.6% | |
6.7 | 8.1 | |
about 1 month ago | 5 days ago | |
C++ | JavaScript | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
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.
nan
Posts with mentions or reviews of nan.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-10.
- 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?
node-pre-gyp
Posts with mentions or reviews of node-pre-gyp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-01.
-
The Silent Crisis in Open Source: When Maintainers Walk Away
In May 2022, Dane Springmeyer, the primary maintainer of node-pre-gyp, a critical tool in the Node.js ecosystem, announced his decision to step down. This wasn't just another developer moving on; for nearly a decade he had been maintaining the project.
-
Has anyone got sqlite3 and electron working on Apple M1?
The problem is that it determines the the system's platform and architecture using the binary compiling package node-pre-gyp and this very savior of a Github issue details how node-pre-gyp is not handling ARM architecture detection properly and basically mixing everything up. Because it's not detecting properly, even if we build our own binding with --build-from-source when installing, it still won't work because it is compiling the wrong binding file for the wrong architecture. To make matters worse, if we don't use --build-from-source, it just simply fetches the Intel precompiled binding file. napi-v6-darwin-unknown-x64
-
Getting Rid of Dust / 1.0.0-beta.4
Indeed, Snowboy uses node-pre-gyp which helps to publish and install Node.js C++ addons from binaries. So when a new Node.js version is shipped, node-pre-gyp must update its listing of the supported targets by specifying the:
-
Mac Mini M1 issues with Node JS < 15
Node is like 95% OK with ARM chips, so you might have a tricky dependency. Every time I had problems it was related to something depending on node-pre-gyp, there is an issue about it .
What are some alternatives?
When comparing nan and node-pre-gyp you can also consider the following projects:
node-addon-api - Module for using Node-API from C++
patch-package - Fix broken node modules instantly 🏃🏽♀️💨
execa - Process execution for humans
gitpod - The developer platform for on-demand cloud development environments to create software faster and more securely.
Banshee
opn - Open stuff like URLs, files, executables. Cross-platform.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
editly - Slick, declarative command line video editing & API
nar - node.js application archive - create self-contained binary like executable applications that are ready to ship and run
opencv - OpenCV Bindings for node.js
webworker-threads - Lightweight Web Worker API implementation with native threads