# @holographxyz/environment

> Holograph Protocol

Latest version **0.1.11** (published 2024-05-20) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @holographxyz/environment
pnpm add @holographxyz/environment
yarn add @holographxyz/environment
bun add @holographxyz/environment
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2024-05-20 |
| First published | 2022-10-23 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 28.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | @holographxyz |
| Maintainers | felipe.xyz, isolum, lostmidas, natalie.holo, angelloholograph, attar |
| Keywords | holograph, holograph environment, holograph protocol, holograph protocol environment |

## Links

- npm: https://www.npmjs.com/package/@holographxyz/environment
- Repository: https://github.com/holographxyz/holograph
- Homepage: https://holograph.xyz
- Issues: https://github.com/holographxyz/holograph/issues
- npm.io page: https://npm.io/package/@holographxyz/environment

## Dependencies (2)

- [path](https://npm.io/package/path.md) ^0.12.7
- [dotenv](https://npm.io/package/dotenv.md) ^10.0.0

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 0.1.11 (latest) — 2024-05-20
- 0.1.10 — 2022-10-26
- 0.1.9 — 2022-10-26
- 0.1.8 — 2022-10-24
- 0.1.7 — 2022-10-23
- 0.1.6 — 2022-10-23
- 0.1.5 — 2022-10-23
- 0.1.4 — 2022-10-23
- 0.1.3 — 2022-10-23
- 0.1.2 — 2022-10-23
- 0.1.1 — 2022-10-23
- 1.0.1 — 2022-10-23
- 1.0.0 — 2022-10-23

## README

<div align="center">
  <a href="https://holograph.xyz"><img alt="Holograph" src="https://user-images.githubusercontent.com/21043504/188220186-9c7f55e0-143a-41b4-a6b8-90e8bd54bfd9.png" width=600></a>
  <br />
  <h1>Holograph Protocol - Environment Configurations</h1>
</div>
<p align="center">
</p>

## Description

The Holograph Protocol has different builds for different development environment types.
This package helps to easily declare the current environment.

## Development

### Getting Started

1. Install package with `npm i @holographxyz/environment`
1. Using the package:
   - **TypeScript**: `import { getEnvironment } from '@holographxyz/environment'`
   - **JavaScript**: `const { getEnvironment } = require('@holographxyz/environment');`
1. The package also includes type definitions for: `Environment`.

### Defining Environment

You can easily define your current environment by including `HOLOGRAPH_ENVIRONMENT` in your `.env` file, or using a branch name with the same name as the environment.

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