Socket
Book a DemoInstallSign in
Socket

amazon-sqs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-sqs

Simple Amazon SQS Manipulator

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

node-amazon-sqs

Node interface to Amazon SQS, supports the following actions:

  • ReceiveMessages
  • DeleteMessage

Install

npm install -g amazon-sqs

Building

icake build

Using

SQS = require 'amazon-sqs'

conn = new SQS.Connection 
  accessKeyId : "your-access-key-id"
  secretAccessKey: "your-secret-access-key"

topic = conn.createTopic
  owner : "numeric-owner-id"
  topic : "topic-name"

topic.receiveMessage (err, data) ->
  console.log "done! Err=#{JSON.stringify err}; data=#{JSON.stringify data}"
topic.deleteMessage myReceiptHandle (err) ->
  console.log "done! Err=#{JSON.stringify err}"

Keywords

email

FAQs

Package last updated on 06 Nov 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts