What's the "modern" way of creating a native addon for Node.js?

This page summarizes the projects mentioned and recommended in the original post on /r/node

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • napi-rs

    A framework for building compiled Node.js add-ons in Rust via Node-API

  • Thanks! This seems pretty official. I do really like what I saw from https://napi.rs/ where you just throw a "#[napi]" macro on and it works. Do you know if there's a Node API equivalent C/C++ workflow or tool that does something similar? I think the https://github.com/nodejs/webidl-napi is kinda what I'm looking for but it's archived.

  • nativefiledialog-extended

    Cross platform (Windows, Mac, Linux) native file dialog library with C and C++ bindings, based on mlabbe/nativefiledialog.

  • I'd be interested in creating some kind of native binding package for this C library: https://github.com/btzy/nativefiledialog-extended (which also has existing bindings for Rust here https://github.com/btzy/nfde-rs)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nfde-rs

    Rust bindings for Native File Dialog Extended

  • I'd be interested in creating some kind of native binding package for this C library: https://github.com/btzy/nativefiledialog-extended (which also has existing bindings for Rust here https://github.com/btzy/nfde-rs)

  • nan

    Native Abstractions for Node.js

  • node-addon-api

    Module for using Node-API from C++

  • node-webidl

    Bindings generator for Node Addons given WebIDL documents

  • webidl-napi

    Discontinued A WebIDL-to-N-API compiler

  • Thanks! This seems pretty official. I do really like what I saw from https://napi.rs/ where you just throw a "#[napi]" macro on and it works. Do you know if there's a Node API equivalent C/C++ workflow or tool that does something similar? I think the https://github.com/nodejs/webidl-napi is kinda what I'm looking for but it's archived.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • emsdk

    Emscripten SDK

  • https://emscripten.org/ ?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Next.js vs Node.js: A Modern Contrast

    5 projects | dev.to | 12 Apr 2024
  • Fix broken node modules instantly

    1 project | news.ycombinator.com | 8 Aug 2023
  • Electrons Are Fast, So Can Be Electron – How to Optimize Electron App Performance

    4 projects | dev.to | 24 Jul 2023
  • How to ignore an error , that happens in a node modules library ?

    1 project | /r/webdev | 5 Jul 2023
  • Getting kinda stuck with a build error, any help much appreciated

    1 project | /r/reactnative | 8 Jun 2023