dotenv-patterns

Official

Secure, consistent .env handling for tests

Authorzerobias-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Environment file patterns, test data, and credential loading to keep tests secure and maintainable.

Core Features & Use Cases

  • Template-driven .env: Provides a safe template (.env.example) that developers copy to .env and never commit real credentials.
  • Centralized loading: Demonstrates loading credentials with dotenv in a dedicated integration test helper (test/integration/Common.ts) to prevent direct process.env access in production code.
  • Flexible patterns: Includes examples for multiple auth schemes and test data values, with CI/local development guidance.

Quick Start

Copy .env.example to .env, fill in your credentials, and run the test suite to load them with dotenv.

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: dotenv-patterns
Download link: https://github.com/zerobias-org/module/archive/main.zip#dotenv-patterns

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 471,000+ vetted skills library on demand.