# @startupjs/babel-plugin-dotenv

> Import .env files

Latest version **0.55.8** (published 2023-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @startupjs/babel-plugin-dotenv
pnpm add @startupjs/babel-plugin-dotenv
yarn add @startupjs/babel-plugin-dotenv
bun add @startupjs/babel-plugin-dotenv
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.55.8 |
| Published | 2023-12-16 |
| First published | 2020-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 109 |
| Author | Pavel Zhukov |
| Maintainers | cray0000, yska, zag2art, fctsvirus, maestro.sc, byshock |
| Keywords | babel, babel-plugin, dotenv, react, react-native |

## Links

- npm: https://www.npmjs.com/package/@startupjs/babel-plugin-dotenv
- Repository: https://github.com/startupjs/startupjs
- Homepage: https://github.com/startupjs/startupjs#readme
- Issues: https://github.com/startupjs/startupjs/issues
- npm.io page: https://npm.io/package/@startupjs/babel-plugin-dotenv

## Dependencies (2)

- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0
- [@babel/template](https://npm.io/package/@babel/template.md) ^7.4.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.55.8 (latest) — 2023-12-16
- 0.59.0-canary.0 (canary) — 2024-11-08
- 0.56.0-alpha.0 (next) — 2024-01-15
- 0.58.0-canary.0 — 2024-11-08
- 0.57.0-canary.75 — 2024-09-23
- 0.57.0-canary.0 — 2024-05-25
- 0.55.7 — 2023-12-16
- 0.55.0 — 2023-11-29
- 0.55.0-alpha.1 — 2023-11-08
- 0.54.1 — 2023-11-01
- 0.54.0 — 2023-10-25
- 0.53.0 — 2023-08-17
- 0.52.1 — 2023-05-31
- 0.52.0 — 2023-05-26
- 0.51.0 — 2023-05-24
- … 49 more at https://npm.io/package/@startupjs/babel-plugin-dotenv/versions

## README

# @startupjs/babel-plugin-dotenv

Import .env files

## Example

```jsx
import { BASE_URL, STRIPE_PUBLIC_KEY } from '@env'
```

↓ ↓ ↓ ↓ ↓ ↓

```jsx
const BASE_URL = 'http://example.com'
const STRIPE_PUBLIC_KEY = '000-000000-00'
```

## License

MIT

---
_Source: https://npm.io/package/@startupjs/babel-plugin-dotenv · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
