Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 636 Bytes

File metadata and controls

17 lines (11 loc) · 636 Bytes

@rewindbitcoin/env

This module centralizes shared configuration for all services and applications within the Rewind Bitcoin ecosystem. It is not intended for secrets.

Usage

There are two primary ways to use this module:

  1. Directly: Bash scripts and other processes can source services.env directly to access configuration variables.

  2. Programmatically: Node.js applications can use the initEnv function to load the variables from services.env into the global process.env object.

This dual approach provides a unified and centralized way to manage shared configurations across different parts of the system.