{"library":"esbuild-plugin-environment","type":"library","category":null,"description":"esbuild plugin that replaces process.env references with environment variable values at build time. Supports both object maps (key → default value) and arrays of keys. Version 0.5.0 is the latest stable release, with active maintenance. Key differentiators: simple API, supports both Node.js and browser targets, ships TypeScript definitions, and integrates seamlessly with esbuild's plugin system. The plugin is lightweight and focuses exclusively on environment variable injection, unlike more complex solutions like dotenv or webpack's DefinePlugin.","language":"javascript","status":"active","version":"0.5.0","tags":["javascript","esbuild","plugin","environment","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install esbuild-plugin-environment","imports":["import { environmentPlugin } from 'esbuild-plugin-environment'","import type { EnvironmentPluginOptions } from 'esbuild-plugin-environment'","import { environmentPlugin } from 'esbuild-plugin-environment'"]},{"cmd":"yarn add esbuild-plugin-environment","imports":[]},{"cmd":"pnpm add esbuild-plugin-environment","imports":[]}],"homepage":null,"github":"https://github.com/webdeveric/esbuild-plugin-environment","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-environment","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}