Socket
Socket
Sign inDemoInstall

@vtfk/azure-queue-add-message

Package Overview
Dependencies
61
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @vtfk/azure-queue-add-message

[![Build Status](https://travis-ci.com/vtfk/azure-queue-add-message.svg?branch=master)](https://travis-ci.com/telemarks/azure-queue-add-message) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://


Version published
Weekly downloads
1
Maintainers
4
Install size
6.36 MB
Created
Weekly downloads
 

Readme

Source

Build Status js-standard-style

azure-queue-add-message

Convenience wrapper for adding json messages to Azure service bus queues or topics.

Usage

(async () => {
  const azureQueue = require('azure-queue-add-message')({
    connectionString: '<myConnectionString>',
    queueName: 'myQueueName', // queueName or topicName is required
    topicName: 'myTopicName' // queueName or topicName is required
  })
  const message = {
    id: 123,
    action: 'add',
    content: 'Added to queue'
  }
  try {
    const result = await azureQueue(message)
    console.log(result)
  } catch (error) {
    console.error(error)
  }
})()

License

MIT

FAQs

Last updated on 11 Nov 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc