3.2.7 • Published 5 years ago

expresser-aws v3.2.7

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

Expresser AWS

This is a wrapper around the AWS SDK for Node.js apps:

https://www.npmjs.com/package/aws-sdk

Currently implements some restricted features of DynamoDB, S3 and SNS.

Basic requirements

Fore more info on how to get your AWS credentials:

http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-your-credentials.html

And how to set your credentials on Node.js apps:

http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials-node.html

S3

Downloading a file from a S3 bucket:

expresser = require("expresser")
aws = require("expresser-aws")

try
    var result = aws.s3.download("my-bucket-id", "my-filenametxt", "/var/myfiles/my-filename.txt")
    console.log(result)
catch ex
    expresser.logger.error(ex)

Uploading a file to S3:

expresser = require("expresser")
aws = require("expresser-aws")

try
    result = aws.s3.upload("my-bucket-id", "my-upload.txt", "this is my file text")
    console.log(result)
catch ex
    expresser.logger.error(ex)
3.2.7

5 years ago

3.2.6

5 years ago

3.2.5

6 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.3

6 years ago

3.1.2

7 years ago

3.1.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago