GithubHelp home page GithubHelp logo

isabella232 / meteor-aws-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peerlibrary/meteor-aws-sdk

0.0 0.0 0.0 36 KB

SDK for AWS services including Amazon S3, Amazon EC2, DynamoDB, and Amazon SWF

Home Page: https://aws.amazon.com/sdk-for-node-js/

License: Other

JavaScript 100.00%

meteor-aws-sdk's Introduction

AWS SDK smart package

AWS SDK Meteor smart package for node.js and browser package, providing the SDK that helps take the complexity out of coding by providing JavaScript objects for AWS services including Amazon S3, Amazon EC2, DynamoDB, and Amazon SWF.

After Adding this package to your Meteor application import it using import { AWS } from 'meteor/peerlibrary:aws-sdk';, which you can then use according to the documentation.

On the server-side, in addition to existing API, a fibers-enabled synchronous (blocking) methods are added to objects. They are named the same, but with a Sync suffix.

Server-side example using CoffeeScript:

if Meteor.settings.AWS
  AWS.config.update
    accessKeyId: Meteor.settings.AWS.accessKeyId
    secretAccessKey: Meteor.settings.AWS.secretAccessKey
else
  console.warn "AWS settings missing"

s3 = new AWS.S3()

list = s3.listObjectsSync
  Bucket: 'bucketname'
  Prefix: 'subdirectory/'

for file in list.Contents
  # ...

Both client and server side.

Installation

meteor add peerlibrary:aws-sdk

meteor-aws-sdk's People

Contributors

danopia avatar getninjan avatar jakobloekke avatar mileanco avatar mitar avatar mpranjic avatar mrspark2591 avatar nyaaao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.