Next: Step 3---Install the SDK and Dependencies, Previous: Step 1---Configure Your Credentials, Up: Getting Started in Nodejs SDK [Index]
After you create the awsnodesample project directory, you create and add a
package.json file for holding the metadata for your Node.js project.
In the project directory, create a new file named package.json. Then add
this JSON to the file.
{
"dependencies": {},
"name": "aws-nodejs-sample",
"description": "A simple Node.js application illustrating usage of the AWS SDK for Node.js.",
"version": "1.0.1",
"main": "sample.js",
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "NAME",
"license": "ISC"
}