UNPKG

env-sentinel

Version:

Zero-dependency tool that auto-validates .env files against schema.env, with optional fallback and secure warnings.

10 lines (6 loc) 261 B
#!/usr/bin/env node --no-warnings import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; const __dirname = dirname(fileURLToPath(import.meta.url)); const { run } = await import(join(__dirname, '..', 'dist', 'index.js')); run();