5.0.2 • Published 26 days ago

@kosko/env v5.0.2

Weekly downloads
146
License
MIT
Repository
github
Last release
26 days ago

@kosko/env

Docs

API

env

Current environment.

env?: string;

cwd

Path to the working directory. Default to CWD.

cwd: string;

paths

Paths of environment files.

paths: {
  global: string,
  component: string
}

global

Returns global variables.

If env is not set or require failed, returns an empty object.

global(): any

component

Returns component variables merged with global variables.

If env is not set or require failed, returns an empty object.

component(name: string): any
5.0.2

26 days ago

5.0.1

2 months ago

5.0.0

3 months ago

4.1.0

12 months ago

4.0.1

2 years ago

4.0.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.0-alpha.1

4 years ago

1.0.0-alpha.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago