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?