• Parses a string or buffer in the .env file format into an object.

    See https://docs.dotenv.org

    Type Parameters

    Parameters

    • src: string | Buffer

      contents to be parsed. example: 'DB_HOST=localhost'

    Returns T

    an object with keys and values based on src. example: { DB_HOST : 'localhost' }

Generated using TypeDoc