env-constants

Community

Type-safe env access across your app.

Authorsayali-ingle-pdl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automatically generate a type-safe EnvConsts.ts to access Vite environment variables.

Core Features & Use Cases

  • Generates a TypeScript interface and exported constants for Vite env vars accessible throughout the codebase.
  • Wraps import.meta.env for type safety and provides default values for all environment variables.
  • Centralizes environment variable usage across Vue.js and other Vite-based projects.

Quick Start

Run the EnvConsts generator to create src/shared/EnvConsts.ts from your Vite environment variables.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: env-constants
Download link: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/archive/main.zip#env-constants

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.