Skip to content

1.0.0

Compare
Choose a tag to compare
@Pinta365 Pinta365 released this 21 Mar 17:18
· 4 commits to main since this release

@cross/env v1.0.0

Key Features

  • Cross-Runtime Compatibility: Seamlessly manage environment variables across Deno, Bun, and Node.js. This eliminates the need for platform-specific solutions, simplifying development workflows.

  • Unified Interface: Consistent getEnv, setEnv, validateEnv, and other functions create a familiar experience for developers switching between runtimes.

  • Robust Validation: Ensure the presence and correctness of critical environment variables with built-in validation mechanisms and custom validation functions. This catches errors early in the development cycle.

  • .env File Support: Streamline development by loading environment variables from standard .env files (customizable for other
    filenames), making local development setup more convenient.

For documentation and usage see env on JSR.io

Contributors

Full Changelog: https://github.com/cross-org/env/commits/1.0.0