atikin-env
Version:
Ultra-fast, zero-dependency .env loader with type safety for Node/TS. Created by: Atikin Verse.
16 lines (15 loc) • 383 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../src/index");
const schema = {
PORT: 'number',
DEBUG: 'boolean',
APP_NAME: 'string',
};
try {
const env = (0, index_1.loadEnv)(schema);
console.log('✅ ENV Loaded Successfully:', env);
}
catch (err) {
console.error('❌ ENV Load Error:', err.message);
}