This is a small example of how to mimic the functionality of the home-config npm module in a bash BitBar plugin.
Since this uses associative arrays, bash 4.0 or higher is required. See how to upgrade to bash 4 on Mac OS X here: http://clubmate.fi/upgrade-to-bash-4-in-mac-os-x/
[home_config]
color=blue
text=This text came from the config file!
[another_plugin]
apiKey=c9ff119073ea2567730fb42e3a4fe805
MIT. See the License file for more info.