| napi_key_collection_mode | Describes the Keys/Properties filter enums: | v6 |
| napi_key_filter | Property filter bit flag. This works with bit operators to build a composite filter. | v6 |
| napi_key_conversion | napi_key_numbers_to_strings will convert integer indexes to strings. napi_key_keep_numbers will return numbers for integer indexes. | v6 |
| napi_valuetype | Describes the type of a napi_value. This generally corresponds to the types described in Section language types of the ECMAScript Language Specification. | type |
| napi_typedarray_type | This represents the underlying binary scalar datatype of the TypedArray. Elements of this enum correspond to Section TypedArray objects of the ECMAScript Language Specification. | type |
| napi_create_array | This API returns a Node-API value corresponding to a JavaScript Array type. JavaScript arrays are described in Section Array objects of the ECMAScript Language Specification. | v1 |
| napi_create_array_with_length | This API returns a Node-API value corresponding to a JavaScript Array type. The Array's length property is set to the passed-in length parameter. | v1 |
| napi_create_arraybuffer | This API returns a Node-API value corresponding to a JavaScript ArrayBuffer. ArrayBuffers are used to represent fixed-length binary data buffers. They are normally used as a backing-buffer for TypedArray objects. | v1 |
| napi_create_buffer | This API allocates a node::Buffer object. While this is still a fully-supported data structure, in most cases using a TypedArray will suffice. | v1 |
| napi_create_buffer_copy | This API allocates a node::Buffer object and initializes it with data copied from the passed-in buffer. While this is still a fully-supported data structure, in most cases using a TypedArray will suffice. | v1 |
| napi_create_date | This API does not observe leap seconds; they are ignored, as ECMAScript aligns with POSIX time specification. | v5 |
| napi_create_external | This API allocates a JavaScript value with external data attached to it. This is used to pass external data through JavaScript code, so it can be retrieved later by native code using napi_get_value_external. | v1 |
| napi_create_external_arraybuffer | In order to maintain broadest compatibility with all runtimes you may define NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED in your addon before includes for the node-api headers. | v1 |
| node_api_create_external_sharedarraybuffer | Create a SharedArrayBuffer with externally managed memory. | function |
| napi_create_external_buffer | In order to maintain broadest compatibility with all runtimes you may define NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED in your addon before includes for the node-api headers. | v1 |
| napi_create_object | This API allocates a default JavaScript Object. It is the equivalent of doing new Object() in JavaScript. | v1 |
| node_api_create_object_with_properties | This API creates a JavaScript Object with the specified prototype and properties. | experimental |
| napi_create_symbol | This API creates a JavaScript symbol value from a UTF8-encoded C string. | v1 |
| node_api_symbol_for | This API searches in the global registry for an existing symbol with the given description. If the symbol already exists it will be returned, otherwise a new symbol will be created in the registry. | v9 |
| napi_create_typedarray | This API creates a JavaScript TypedArray object over an existing ArrayBuffer or SharedArrayBuffer. | v1 |
| node_api_create_buffer_from_arraybuffer | This API creates a JavaScript Buffer object from an existing ArrayBuffer. The Buffer object is a Node.js-specific class that provides a way to work with binary data directly in JavaScript. | v10 |
| napi_create_dataview | This API creates a JavaScript DataView object over an existing ArrayBuffer or SharedArrayBuffer. | v1 |
| napi_create_int32 | This API is used to convert from the C int32_t type to the JavaScript number type. | v1 |
| napi_create_uint32 | This API is used to convert from the C uint32_t type to the JavaScript number type. | v1 |
| napi_create_int64 | This API is used to convert from the C int64_t type to the JavaScript number type. | v1 |
| napi_create_double | This API is used to convert from the C double type to the JavaScript number type. | v1 |
| napi_create_bigint_int64 | This API converts the C int64_t type to the JavaScript BigInt type. | v6 |
| napi_create_bigint_uint64 | This API converts the C uint64_t type to the JavaScript BigInt type. | v6 |
| napi_create_bigint_words | This API converts an array of unsigned 64-bit words into a single BigInt value. | v6 |
| napi_create_string_latin1 | This API creates a JavaScript string value from an ISO-8859-1-encoded C string. The native string is copied. | v1 |
| node_api_create_external_string_latin1 | This API creates a JavaScript string value from an ISO-8859-1-encoded C string. The native string may not be copied and must thus exist for the entire life cycle of the JavaScript value. | v10 |
| napi_create_string_utf16 | This API creates a JavaScript string value from a UTF16-LE-encoded C string. The native string is copied. | v1 |
| node_api_create_external_string_utf16 | This API creates a JavaScript string value from a UTF16-LE-encoded C string. The native string may not be copied and must thus exist for the entire life cycle of the JavaScript value. | v10 |
| napi_create_string_utf8 | This API creates a JavaScript string value from a UTF8-encoded C string. The native string is copied. | v1 |
| node_api_create_property_key_latin1 | This API creates an optimized JavaScript string value from an ISO-8859-1-encoded C string to be used as a property key for objects. The native string is copied. | v10 |
| node_api_create_property_key_utf16 | This API creates an optimized JavaScript string value from a UTF16-LE-encoded C string to be used as a property key for objects. The native string is copied. | v10 |
| node_api_create_property_key_utf8 | This API creates an optimized JavaScript string value from a UTF8-encoded C string to be used as a property key for objects. The native string is copied. | v10 |
| napi_get_array_length | This API returns the length of an array. | v1 |
| napi_get_arraybuffer_info | This API is used to retrieve the underlying data buffer of an ArrayBuffer or SharedArrayBuffer and its length. | v1 |
| napi_get_buffer_info | This method returns the identical data and byte_length as napi_get_typedarray_info. And napi_get_typedarray_info accepts a node::Buffer (a Uint8Array) as the value too. | v1 |
| napi_get_prototype | | v1 |
| napi_get_typedarray_info | This API returns various properties of a typed array. | v1 |
| napi_get_dataview_info | Any of the out parameters may be NULL if that property is unneeded. | v1 |
| napi_get_date_value | This API does not observe leap seconds; they are ignored, as ECMAScript aligns with POSIX time specification. | v5 |
| napi_get_value_bool | This API returns the C boolean primitive equivalent of the given JavaScript Boolean. | v1 |
| napi_get_value_double | This API returns the C double primitive equivalent of the given JavaScript number. | v1 |
| napi_get_value_bigint_int64 | This API returns the C int64_t primitive equivalent of the given JavaScript BigInt. If needed it will truncate the value, setting lossless to false. | v6 |
| napi_get_value_bigint_uint64 | This API returns the C uint64_t primitive equivalent of the given JavaScript BigInt. If needed it will truncate the value, setting lossless to false. | v6 |
| napi_get_value_bigint_words | This API converts a single BigInt value into a sign bit, 64-bit little-endian array, and the number of elements in the array. sign_bit and words may be both set to NULL, in order to get only word_count. | v6 |
| napi_get_value_external | This API retrieves the external data pointer that was previously passed to napi_create_external(). | v1 |
| napi_get_value_int32 | This API returns the C int32 primitive equivalent of the given JavaScript number. | v1 |
| napi_get_value_int64 | This API returns the C int64 primitive equivalent of the given JavaScript number. | v1 |
| napi_get_value_string_latin1 | This API returns the ISO-8859-1-encoded string corresponding the value passed in. | v1 |
| napi_get_value_string_utf8 | This API returns the UTF8-encoded string corresponding the value passed in. | v1 |
| napi_get_value_string_utf16 | This API returns the UTF16-encoded string corresponding the value passed in. | v1 |
| napi_get_value_uint32 | This API returns the C primitive equivalent of the given napi_value as a uint32_t. | v1 |
| napi_get_boolean | This API is used to return the JavaScript singleton object that is used to represent the given boolean value. | v1 |
| napi_get_global | This API returns the global object. | v1 |
| napi_get_null | This API returns the null object. | v1 |
| napi_get_undefined | This API returns the Undefined object. | v1 |