{ "name": "@ohos/napi", "description": "Node-API (formerly N-API) is an API for build native Addons", "version": "3.1", "license": "Apache 2.0", "publishAs": "code-segment", "segment": { "destPath": "foundation/arkui/napi" }, "dirs": {}, "scripts": {}, "component": { "name": "napi", "subsystem": "arkui", "syscap": [ "SystemCapability.ArkUI.ArkUI.Napi", "SystemCapability.ArkCompiler.JSVM" ], "features": ["napi_enable_container_scope"], "adapted_system_type": [ "standard" ], "rom": "5120KB", "ram": "10240KB", "deps": { "components": [ "c_utils", "ets_runtime", "eventhandler", "faultloggerd", "hilog", "hitrace", "hiview", "icu", "libuv", "node", "ffrt", "bounds_checking_function", "init" ], "third_party": [ "jerryscript" ] }, "build": { "group_type": { "base_group": [ "//foundation/arkui/napi:napi_packages" ], "fwk_group": [], "service_group": [] }, "inner_kits": [ { "header": { "header_base": "//foundation/arkui/napi/interfaces/kits", "header_files": [ "napi/native_api.h" ] }, "name": "//foundation/arkui/napi:ace_napi" }, { "header": { "header_base": "//foundation/arkui/napi/interfaces/inner_api", "header_files": [ "napi/native_common.h", "napi/native_node_api.h" ] }, "name": "//foundation/arkui/napi:ace_napi" }, { "header": { "header_base": "//foundation/arkui/napi/native_engine/", "header_files": [ "native_engine.h" ] }, "name": "//foundation/arkui/napi:ace_napi" }, { "header": { "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi", "header_files": [ "cj_common_ffi.h", "cj_data_ffi.h" ] }, "name": "//foundation/arkui/napi:cj_bind_ffi" }, { "header": { "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/native", "header_files": [ "cj_fn_invoker.h", "cj_lambda.h", "runtimetype.h" ] }, "name": "//foundation/arkui/napi:cj_bind_native" }, { "header": { "header_base": "//foundation/arkui/ace_engine/frameworks/core/common/", "header_files": [ "container_scope.h" ] }, "name": "//foundation/arkui/napi:ace_container_scope" }, { "header": { "header_base": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop", "header_files": [ "ark_interop_napi.h" ] }, "name": "//foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop:ark_interop" }, { "header": { "header_base": "//third_party/node/src", "header_files": [ "jsvm.h" ] }, "name": "//foundation/arkui/napi:napi_packages" } ], "test": [ "//foundation/arkui/napi:napi_packages_test", "//foundation/arkui/napi/module_manager/test/unittest/module_manager_test:unittest", "//foundation/arkui/napi/sample/native_module_systemtest:systemtest", "//foundation/arkui/napi/test/unittest:unittest", "//foundation/arkui/napi/test/fuzztest:fuzztest" ] } } }