Skip to content

Releases: cross-org/env

1.0.2

18 Apr 21:19
Compare
Choose a tag to compare
  • Fixed some linter issues

Full Changelog: 1.0.0...1.0.2

1.0.1

18 Apr 21:08
Compare
Choose a tag to compare
  • Don't fetch env vars starting with = on Deno with getAllEnv()

Full Changelog: 1.0.0...1.0.1

1.0.0

21 Mar 17:18
Compare
Choose a tag to compare

@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