Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vtfk/azure-queue-add-message

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

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://

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
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

Package last updated on 11 Nov 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc