1.0.9 • Published 8 months ago

@ti-platform/aide-env v1.0.9

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

@ti-platform/aide-env

This package provides enhancement towards loading environment variables from .env files but in a hierarchical approach. It will load in the following order by default:

  • .env
  • .env.{NODE_ENV}, where {NODE_ENV} is the value of process.env.NODE_ENV
  • .env.local

You can of course configure it to change the order and pattern that best fit your style.

Contents

API Docs

Functions

loadEnv()

loadEnv(filesOrder): void

Load the environment variables.

Parameters

ParameterType
filesOrderstring[]

Returns

void

Defined in

index.ts:10

1.0.9

8 months ago

1.0.8

9 months ago

1.0.7

11 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago