Skip to content

Repository files navigation

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...

Ask DeepWiki

Azure Storage

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

constAzureStorage=require('./src/azure.js')letstorageAccountName='devstoreaccount1'letstorageAccountKey='Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=='letoptions={cloudName: 'Azurite'}letazure=newAzureStorage(storageAccountName,storageAccountKey,options)letcontainerName='foo'letblob='bar.jpg'letfile='baz.jpg'awaitazure.downloadBlobToFile(containerName,blob,file)

About

A collection of node helper utilities, including text manipulation, file reads, database and credentials files.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages