Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Introduction

Logo of nuxt-envalid

Dead simple Envalid integration for Nuxt 2.

Get started now View on GitHub


Features

  • Define a required schema for your environment variables
  • Validates variables in the env property of the nuxt.config.js
  • Validates variables in process.env
  • Validates variables present in the .env file, if loaded together with @nuxtjs/dotenv
  • Fails the build process if a variable is missing
  • Loads them cleaned and enriched with default values into your application context (process.env and context.env)

About the project

nuxt-envalid is © 2023 by Manuel Henke.

License

Distributed by an MIT license.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Read more about becoming a contributor in our GitHub repo.

Thank you to the contributors!

  • renovate[bot]
  • manuelhenke
  • dependabot[bot]
  • github-actions[bot]

Code of Conduct

View our Code of Conduct on our GitHub repository.