Attribute Macro napi_derive::napi

source ·
#[napi]
Expand description
#[napi]
fn test(ctx: CallContext, name: String) {
  "hello" + name
}