2 Snippets ·Typescript
Typescript Code Snippets
Browse code snippets written in Typescript

Node.js Environment Variable Validation with Zod at Startup
- Mohammad Abu Mattar
- Nodejs
- Typescript
- Backend
- Published: 27 May, 2026
Most Node.js apps treat process.env like a trusted friend. You reach into it whenever you need a value, assume the key is there, assume it's spelled right, and assume the string is actually the type

AWS Secrets Manager
- Mohammad Abu Mattar
- Aws
- Devops
- Published: 18 Jun, 2025
Need to load secrets in your Node.js app without exposing them? Here's how. If you're still storing API keys or database credentials in .env files or hardcoding them into your codebase, it's ti