UNPKG

daggerai

Version:

A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.

9 lines (6 loc) 190 B
import { resolve } from 'path' import dotenv from 'dotenv' const isDev = process.env.NODE_ENV === 'development' if (isDev) { dotenv.config({ path: resolve(__dirname, '../', '.env') }) }