expresser-aws
Wrapper for the AWS SDK on Expresser apps.
Last updated a year ago by igoramadas .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install expresser-aws 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 3.2.7                                ...           latest (a year ago)

20 Versions

  • 3.2.7                                ...           a year ago
  • 3.2.6                                ...           2 years ago
  • 3.2.5                                ...           2 years ago
  • 3.2.4                                ...           2 years ago
  • 3.2.3                                ...           2 years ago
  • 3.2.2                                ...           2 years ago
  • 3.2.1                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.1.3                                ...           3 years ago
  • 3.1.2                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |