Skip to content

Version with sync API #6

@efstajas

Description

@efstajas

A synchronous version of the check would simplify the API and allow you to just drop in the function in your index.ts, without messing with the current promise-based implementation. It would automatically throw and stop the process if there's a problem. Error message should include all failed .env vars with expected type.

Requested by reddit user /u/sshaw_

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions