4.0.14 • Published 22 days ago

@beauraines/node-helpers v4.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
22 days ago

Node Helpers

This is a set of helpers for NodeJS. They're written for quick reuse rather than robust functions or efficiency. For instance, the database functions will create a new database connection every time. This is not efficient, but it makes making the function call simple.

My use is primarily in quicker one-off scripts that sometimes morph into something long-lasting...

Azure Storage

Get blob from Azure example, downloads bar.jpg from foo container to baz.jpg

const AzureStorage  = require('./src/azure.js')


let storageAccountName = 'devstoreaccount1'
let storageAccountKey = 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=='
let options = {cloudName: 'Azurite'}

let azure = new AzureStorage(storageAccountName,storageAccountKey,options)

let containerName = 'foo'
let blob = 'bar.jpg'
let file = 'baz.jpg'
await azure.downloadBlobToFile(containerName,blob,file)
4.0.14

22 days ago

4.0.13

2 months ago

4.0.12

3 months ago

4.0.11

3 months ago

4.0.10

4 months ago

4.0.9

4 months ago

4.0.8

4 months ago

4.0.7

4 months ago

4.0.6

4 months ago

2.11.0

10 months ago

2.10.0

10 months ago

2.9.0

10 months ago

2.7.2

10 months ago

2.8.0

10 months ago

3.0.0

10 months ago

2.13.0

10 months ago

2.14.0

10 months ago

4.0.5

10 months ago

4.0.4

10 months ago

4.0.1

10 months ago

4.0.0

10 months ago

4.0.3

10 months ago

4.0.2

10 months ago

2.7.0

11 months ago

2.6.1

11 months ago

2.6.0

11 months ago

2.7.1

11 months ago

2.5.0

11 months ago

2.5.2

11 months ago

2.4.4

1 year ago

2.4.3

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.3.1

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago