@holographxyz/environment
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published
Holograph

Holograph Protocol - Environment Configurations

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
  2. Using the package:
    • TypeScript: import { getEnvironment } from '@holographxyz/environment'
    • JavaScript: const { getEnvironment } = require('@holographxyz/environment');
  3. 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.

Package Sidebar

Install

npm i @holographxyz/environment

Weekly Downloads

105

Version

0.1.10

License

SEE LICENSE IN LICENSE.md

Unpacked Size

11.8 kB

Total Files

20

Last publish

Collaborators

  • isolum
  • lostmidas
  • felipe.xyz
  • natalie.holo
  • angelloholograph
  • attar