Next: , Previous: , Up: Getting Started in Nodejs SDK   [Index]


5.5.3 Step 3—Install the SDK and Dependencies

You install the SDK for JavaScript package using npm. From the awsnodesample directory in the package, type the following at the command line.

npm install aws-sdk

This command installs the SDK for JavaScript in your project, and updates package.json to list the SDK as a project dependency.

Next, install the uuid module to the project by typing the following at the command line, which installs the module and updates package.json. For more information about uuid, see the module’s page at https://www.npmjs.com/package/uuid 2


Footnotes

(2)

Deprecation warning: The use of require(’uuid’) is deprecated and will not be supported after version 3.x of this module. Instead, use require(’uuid/[v1|v3|v4|v5]’) as shown in the examples below. ‘const uuidv1 = require('uuid/v1');