Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
- Running this code might result in charges to your AWS account. For more details, see [AWS Pricing](https://aws.amazon.com/pricing/?aws-products-pricing.sort-by=item.additionalFields.productNameLowercase&aws-products-pricing.sort-order=asc&awsf.Free%20Tier%20Type=*all&awsf.tech-category=*all) and [Free Tier](https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all).
2. From the command line, navigate to the new folder.
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 should look similar to this:
```json
{
"name":"example-javascriptv3-get-started-node",
"version":"1.0.0",
"description":"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.",