An open API service indexing awesome lists of open source software.

https://github.com/skrevolve/aws-sdk-services-nodejs

aws sdk service examples for nodejs
https://github.com/skrevolve/aws-sdk-services-nodejs

aws-sdk nodejs typescript

Last synced: 3 months ago
JSON representation

aws sdk service examples for nodejs

Awesome Lists containing this project

README

          

# aws-sdk-services-nodejs
### run examples

>
npm run mail_template
>
npm run mail
>
npm run multer_s3

### typescript initial settings

- npm install typescript -g

- tsc --init

- tsconfig.json

>

{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"outDir": "out",
"sourceMap": true,
"esModuleInterop": true
}
}

- npm install -D @types/node
- npm install -D typescript

- Set the debug environment by pressing f5

>

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/main.ts",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": ["${workspaceFolder}/out/**/*.js"]
}
]
}

- Before running debug, you need to build tsc corresponding to preLaunchTask first, so press F1, click Tasks.configureDefaultBuildTask, and then tsc build
>
{
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": ["$tsc"],
"group": {
"kind": "build",
"isDefault": true
},
"label": "tsc: build - tsconfig.json"
}
]
}