Installation
This document describes the environment requirements and installation steps for the Node.js SDK V2.0. The software development kit (SDK) lets you access the ApsaraVideo Media Processing service without complex programming.
Prerequisites
For information about how to install Node.js, see the official Node.js website. The ApsaraVideo Media Processing Node.js SDK V2.0 supports the following Node.js versions:
Node.js >= 8.x
You can run the node -v command to check your Node.js version.
Install the SDK
You can use npm to install the SDK. You can download npm from the official npm website. All official Alibaba Cloud Node.js SDKs are available in the @alicloud scope.
Assume you have downloaded Node.js SDK V2.0 to the /path/to/aliyun-openapi-Node.js-sdk directory. To develop applications with the SDK core library, run the following command to install the
@alicloud/pop-coremodule:npm install --save @alicloud/mts20140618@3.0.0The
--saveflag adds the module as a dependency to your application's package.json file.