1.0.2 • Published 6 years ago

pon-task-azure v1.0.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

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

ParamtypeDescription
optionsObjectOptional settings
options.namestringContainer name
options.accountstringAzure account
options.keystringAzure account key

define(options) -> function

Define task

ParamtypeDescription
optionsObjectOptional settings

License

This software is released under the Apache-2.0 License.

Links

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago