How to upload an image to aws s3 bucket using nodejs

aws nodejs sdk upload image to s3 bucket

How to upload an image to aws s3 bucket using nodejs. Download source code. Node js is most popular server side non blocking scripting language. So I wish to write a simple code block to how to uploa...