Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Which is the best shared configuration between NodeJS and Shellscript?

$
0
0

I need to share some configuration variables between a script built in NodeJS and a Shellscript.This configuration variables contain data like error codes, urls, folders...

First adopted approach was .env file, but I feel it is not the right place to store this type of information. What would you recommend? Maybe a json file, easy to read with fs and JSON in NodeJS and with jq processor in Shellscript?

Other ideas?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>