#napi #nodejs #macro

napi-derive-backend

Codegen backend for napi procedural macro

107 releases (stable)

2.0.0-alpha.28 Mar 16, 2025
2.0.0-alpha.25 Jan 12, 2025
2.0.0-alpha.22 Dec 18, 2024
2.0.0-alpha.20 Nov 30, 2024
1.0.11 Nov 29, 2021

#130 in Procedural macros

Download history 65457/week @ 2024-12-05 65083/week @ 2024-12-12 47301/week @ 2024-12-19 45646/week @ 2024-12-26 65239/week @ 2025-01-02 89879/week @ 2025-01-09 83789/week @ 2025-01-16 97293/week @ 2025-01-23 97909/week @ 2025-01-30 94185/week @ 2025-02-06 82596/week @ 2025-02-13 101765/week @ 2025-02-20 101106/week @ 2025-02-27 105622/week @ 2025-03-06 118409/week @ 2025-03-13 97632/week @ 2025-03-20

439,389 downloads per month
Used in 66 crates (via napi-derive)

MIT license

140KB
4K SLoC

napi-derive-backend

Take care the ast parsing from napi-derive and generate "bridge" runtime code for both nodejs and rust.

Dependencies

~0.6–1.1MB
~22K SLoC