Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Liz Kellebrew-Davies <[email protected]>
  • Loading branch information
cpyle0819 and lkdavies authored Sep 28, 2023
1 parent 7f5f15d commit f2751a3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions javascriptv3/example_code/nodegetstarted/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Getting started in Node.js
# Get started with Node.js

This guide shows you how to initialize an NPM package, add a service client to your package, and use the JavaScript SDK to call a service action.

Expand All @@ -10,26 +10,26 @@ This guide shows you how to initialize an NPM package, add a service client to y

Create a new NPM package with one main file that does the following:

- Creates an Amazon S3 bucket.
- Puts an object in that bucket.
- Reads that object.
- Creates an Amazon Simple Storage Service (Amazon S3) bucket.
- Puts an object in the bucket.
- Reads the object.
- Confirms if the user wants to delete resources.

### Prerequisites

Before you can run the example, you must complete the following:
Before you can run the example, you must do the following:

- Configure your [SDK authentication](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html).
- [Install Node.js](https://nodejs.org/en/download).
- Configure your [SDK authentication](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html)
- [Install Node.js](https://nodejs.org/en/download)

### Step 1: Set up the package structure

1. Create a new folder to contain the package.
2. From the command line, navigate to the new folder.
3. Run `npm init -y`. This will create a default `package.json`.
3. Run `npm init -y`. This creates a default `package.json` file.
4. Add `"type": "module"` to the `package.json`. This tells Node we're using modern ESM syntax.

The final package.json will look something like this:
The final package.json should look similar to this:

```json
{
Expand Down

0 comments on commit f2751a3

Please sign in to comment.