Help Center/Content Moderation/SDK Reference/Using the Node.js SDK/Importing a Node.js SDK into a Node.js Environment
Updated on 2025-07-02 GMT+08:00

Importing a Node.js SDK into a Node.js Environment

Before you use an SDK, install @huaweicloud/huaweicloud-sdk-core and @huaweicloud/huaweicloud-sdk-moderation.

You are advised to use npm to install the SDK. Run the following command on the CLI:

npm install @huaweicloud/huaweicloud-sdk-core
npm i @huaweicloud/huaweicloud-sdk-moderation