{"library":"esbuild-envfile-plugin","type":"library","category":null,"description":"An esbuild plugin that automatically loads environment variables from a .env file (found in the current directory or any parent) and merges them with existing process.env variables. The .env variables are made available to the bundled code via ESM imports from the virtual module 'env'. This plugin version 1.0.7 is stable and leverages the dotenv package for parsing (not added to user's project). It differentiates by providing a simple, zero-config solution for esbuild bundling, unlike the more general dotenv or @rollup/plugin-dotenv which require explicit setup. Installation requires esbuild and dotenv as dev dependencies.","language":"javascript","status":"active","version":"1.0.7","tags":["javascript","esbuild","esbuild plugin","envfile","env","dotenv"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-envfile-plugin","imports":["const envFilePlugin = require('esbuild-envfile-plugin');","import { MY_VAR } from 'env';","import * as env from 'env';"]},{"cmd":"yarn add esbuild-envfile-plugin","imports":[]},{"cmd":"pnpm add esbuild-envfile-plugin","imports":[]}],"homepage":null,"github":"https://github.com/rw3iss/esbuild-envfile-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-envfile-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}