#proc-macro #nodejs #napi #procedural #harmony-os #codegen #run-time

napi-derive-backend-ohos

Codegen backend for napi-harmony procedural macro

18 releases (2 stable)

new 1.0.1 Oct 27, 2024
1.0.0-beta.8 Sep 25, 2024
1.0.0-beta.5 Jul 31, 2024
0.0.7 Mar 1, 2024
0.0.1 Nov 22, 2023

#132 in Procedural macros

Download history 572/week @ 2024-07-13 540/week @ 2024-07-20 930/week @ 2024-07-27 755/week @ 2024-08-03 1433/week @ 2024-08-10 1076/week @ 2024-08-17 1218/week @ 2024-08-24 1160/week @ 2024-08-31 1047/week @ 2024-09-07 738/week @ 2024-09-14 830/week @ 2024-09-21 722/week @ 2024-09-28 1328/week @ 2024-10-05 991/week @ 2024-10-12 1132/week @ 2024-10-19 1019/week @ 2024-10-26

4,591 downloads per month
Used in 2 crates (via napi-derive-ohos)

MIT license

125KB
3.5K SLoC

napi-derive-backend

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

Dependencies

~0.7–1.7MB
~32K SLoC