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

5.5.2 Step 2—Create the Package JSON for the Project

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"