Azure / Azurite

A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run Azurite within NodeJS code

doronyaary opened this issue · comments

This question is globally for all services

Version 3.29.0

I go azurite using NPM

node version version 21.6.2

No problem - just a question

Steps to reproduce the issue - None for this question

My question is: Can I start azurite-blob within a nodejs script Im writing? not just from the command line.

Thanks,

Doron.

@doronyaary

Azurite still not export the main() function, see link , so you can't import Azurite main() function in your script directly.

You might can run the azurite-blob.cmd directly in your script to start azurite-blob. On my machine, the file in is location %appdata%\npm\azurite-blob.cmd

Hi,

Many thanks for your clarification. Much Appreciated.

Doron.