Preparing a Node.js Development Environment
The JavaScript SDK of Content Moderation depends on the Node.js environment.
- Download the recommended version from the Node.js official website and install it. Node.js 8.x or later is recommended. The following uses Node.js 8.12.0 as an example.
- Download the latest version of WebStorm from WebStorm's official website.
- On the WebStorm page, choose to configure the Node.js environment.
- Select the Figure 1. After selecting the target , click Apply at the bottom of the page to complete the configuration.
The JavaScript SDK of Content Moderation needs to depend on the moment-timezone and moment modules. You can run the npm install command to install the SDK, or click + in Figure 1 to install the SDK using a tool.
installation path, as shown in
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot