pon-task-azure

1.0.2 • Public • Published

pon-task-azure

Build Status npm Version JS Standard

Pon task for azure

Installation

$ npm install pon-task-azure --save

Usage

'use strict'
 
const pon = require('pon')
const { createBlobContainer } = require('pon-task-azure')
 
;(async () => {
  let run = pon({
    blob: createBlobContainer({
      key: 'AZURE_STORAGE_ACCESS_KEY',
      account: 'AZURE_STORAGE_ACCOUNT',
      name: 'AZURE_STORAGE_CONTAINER_NAME',
    })
  })
 
  run('blob')
}).catch((err) => console.error(err))
 

Signatures

createBlobContainer(options) -> function

Task to create an Azure Storage Blob Container

Param type Description
options Object Optional settings
options.name string Container name
options.account string Azure account
options.key string Azure account key

define(options) -> function

Define task

Param type Description
options Object Optional settings

License

This software is released under the Apache-2.0 License.

Links

Readme

Keywords

Package Sidebar

Install

npm i pon-task-azure

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Unpacked Size

32.5 kB

Total Files

31

Last publish

Collaborators

  • realglobe