Rust node-api

Open-source Rust projects categorized as node-api

Top 3 Rust node-api Projects

  1. napi-rs

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

    Project mention: Show HN: I rewrote my Mac Electron app in Rust (app went from 1GB to 172MB) | news.ycombinator.com | 2025-05-28

    If anyone does decide to pursue this, you can use napi-rs [0] to write Rust modules and call it from JS. Lower overhead than IPC but you will crash your process if there's an issue in your Rust code.

    [0] https://napi.rs/

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. canvas

    High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp. (by Brooooooklyn)

    Project mention: Skia Canvas: Browser-Less Implementation of the HTML Canvas Drawing API for Node | news.ycombinator.com | 2024-12-03

    If you're interested in node-compatible canvas implementations, there are several:

    * canvaskit-wasm, from the skia project. I don't think it's gpu-accelerated: https://github.com/google/skia/tree/main/modules/canvaskit/n...

    * @napi-rs/canvas. This is the fastest binding: https://github.com/Brooooooklyn/canvas?tab=readme-ov-file#pe...

    * node-canvas. Uses Cairo instead of Skia: https://github.com/Automattic/node-canvas

  4. node-rs

    Node.js bindings ❤️ Rust crates

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust node-api discussion

Log in or Post with

Index

What are some of the best open-source node-api projects in Rust? This list will help you:

# Project Stars
1 napi-rs 7,020
2 canvas 1,997
3 node-rs 1,330

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com