0.1.10 • Published 2 years ago

@holographxyz/environment v0.1.10

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

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.