deno
9839137b - feat(ext/napi): add node_api_create_object_with_named_properties (#32906)

Commit
242 days ago
feat(ext/napi): add node_api_create_object_with_named_properties (#32906) ## Summary Implement `node_api_create_object_with_named_properties` — a convenience function that creates a JavaScript object with properties specified by UTF-8 C string names and `napi_value` values. This is the "named" counterpart to the existing `node_api_create_object_with_properties` (which takes `napi_value` keys), following the same pattern as `napi_set_named_property` vs `napi_set_property`. Closes #32595 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Parents
Loading