1# ModuleInfo
2
3The **ModuleInfo** module provides module information of an application.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9## ModuleInfo<sup>(deprecated)<sup>
10> This API is deprecated since API version 9. You are advised to use [bundleManager-HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md) instead.
11
12**System capability**: SystemCapability.BundleManager.BundleFramework
13| Name           | Type  | Read-Only| Optional| Description    |
14| --------------- | ------ | ---- | ---- | -------- |
15| moduleName      | string | Yes  | No  | Module name.|
16| moduleSourceDir | string | Yes  | No  | Installation directory. Do not access resource files using concatenated paths. Use [@ohos.resourceManager](../apis-localization-kit/js-apis-resource-manager.md) instead.|
17