21.0.4 • Published 1 year ago

@balena/jellyfish-environment v21.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Jellyfish environment

Environment variable library for Jellyfish.

This module aims to be the startup system configuration hub and exposes any runtime settings to the rest of the system. Its the only place in the codebase that should ever read environment variables.

Usage

Use exported environment variables:

import { defaultEnvironment } from '@balena/jellyfish-environment';
console.log('Metrics Port:', defaultEnvironment.metrics.ports.app);
const environment = require('@balena/jellyfish-environment').defaultEnvironment
console.log('Metrics Port:', environment.metrics.ports.app)

Inject your own environment:

import { getEnvironment } from '@balena/jellyfish-environment';
const environment = getEnvironment({
    METRICS_PORT: 1234,
});
console.log('Metrics Port:', environment.metrics.ports.app);
21.0.2

1 year ago

21.0.1

1 year ago

21.0.4

1 year ago

21.0.3

1 year ago

19.0.0

2 years ago

18.0.0

2 years ago

20.0.0

2 years ago

21.0.0

2 years ago

17.0.0

2 years ago

16.0.0

2 years ago

14.9.1

2 years ago

15.5.0

2 years ago

15.3.0

2 years ago

15.3.1

2 years ago

15.1.0

2 years ago

15.6.0

2 years ago

15.0.0

2 years ago

15.0.1

2 years ago

15.4.0

2 years ago

15.2.0

2 years ago

14.7.0

2 years ago

14.7.1

2 years ago

14.5.0

2 years ago

14.6.11

2 years ago

14.6.10

2 years ago

14.6.13

2 years ago

14.6.12

2 years ago

14.6.15

2 years ago

14.6.14

2 years ago

14.4.10

2 years ago

14.8.0

2 years ago

14.6.3

2 years ago

14.6.4

2 years ago

14.6.5

2 years ago

14.6.6

2 years ago

14.6.7

2 years ago

14.6.8

2 years ago

14.6.9

2 years ago

14.6.0

2 years ago

14.6.1

2 years ago

14.6.2

2 years ago

14.4.5

2 years ago

14.4.6

2 years ago

14.4.7

2 years ago

14.4.8

2 years ago

14.4.9

2 years ago

14.4.0

2 years ago

14.4.1

2 years ago

14.4.2

2 years ago

14.4.3

2 years ago

14.4.4

2 years ago

14.0.19

2 years ago

14.0.18

2 years ago

14.0.17

2 years ago

14.0.16

2 years ago

14.0.15

2 years ago

14.0.14

2 years ago

14.0.20

2 years ago

14.0.21

2 years ago

14.1.0

2 years ago

14.1.1

2 years ago

14.1.2

2 years ago

14.3.6

2 years ago

14.3.7

2 years ago

14.3.8

2 years ago

14.3.9

2 years ago

14.3.0

2 years ago

14.3.1

2 years ago

14.3.2

2 years ago

14.3.3

2 years ago

14.3.4

2 years ago

14.3.5

2 years ago

14.3.11

2 years ago

14.3.12

2 years ago

14.3.10

2 years ago

14.3.13

2 years ago

14.2.0

2 years ago

14.0.13

2 years ago

14.0.12

2 years ago

14.0.11

2 years ago

14.0.10

2 years ago

13.0.8

2 years ago

13.0.9

2 years ago

13.0.6

2 years ago

13.0.7

2 years ago

13.0.4

2 years ago

13.0.5

2 years ago

13.0.2

2 years ago

13.0.3

2 years ago

13.0.10

2 years ago

13.0.11

2 years ago

13.0.12

2 years ago

13.0.13

2 years ago

14.0.9

2 years ago

14.0.0

2 years ago

14.0.1

2 years ago

14.0.2

2 years ago

14.0.3

2 years ago

14.0.4

2 years ago

14.0.5

2 years ago

14.0.6

2 years ago

14.0.7

2 years ago

14.0.8

2 years ago

12.0.7

3 years ago

12.0.8

3 years ago

12.0.9

3 years ago

12.0.4

3 years ago

12.0.5

3 years ago

12.0.6

3 years ago

13.0.0

2 years ago

13.0.1

2 years ago

12.2.1

2 years ago

12.2.2

2 years ago

12.2.3

2 years ago

12.2.0

2 years ago

12.3.4

2 years ago

12.3.5

2 years ago

12.3.6

2 years ago

12.3.0

2 years ago

12.3.1

2 years ago

12.3.2

2 years ago

12.3.3

2 years ago

12.0.13

2 years ago

12.0.12

2 years ago

12.0.11

3 years ago

12.0.10

3 years ago

12.1.2

2 years ago

12.1.3

2 years ago

12.1.0

2 years ago

12.1.1

2 years ago

11.0.2

3 years ago

11.0.3

3 years ago

11.0.0

3 years ago

11.0.1

3 years ago

12.0.3

3 years ago

12.0.0

3 years ago

12.0.1

3 years ago

12.0.2

3 years ago

10.0.0

3 years ago

10.0.1

3 years ago

10.0.2

3 years ago

9.1.17

3 years ago

9.1.18

3 years ago

9.1.19

3 years ago

9.1.13

3 years ago

9.1.14

3 years ago

9.1.15

3 years ago

9.1.16

3 years ago

9.1.10

3 years ago

9.1.11

3 years ago

9.1.12

3 years ago

9.1.9

3 years ago

9.1.8

3 years ago

9.1.7

3 years ago

9.1.6

3 years ago

9.1.5

3 years ago

9.1.4

3 years ago

9.1.3

3 years ago

9.1.2

3 years ago

9.1.1

3 years ago

6.0.7

3 years ago

6.0.6

3 years ago

6.0.9

3 years ago

6.0.8

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

6.0.3

3 years ago

6.0.2

3 years ago

6.0.5

3 years ago

6.0.4

3 years ago

6.0.15

3 years ago

6.0.14

3 years ago

6.0.13

3 years ago

6.0.12

3 years ago

6.0.11

3 years ago

6.0.10

3 years ago

9.0.0

3 years ago

9.1.0

3 years ago

6.1.0

3 years ago

6.1.1

3 years ago

7.0.0

3 years ago

7.0.1

3 years ago

8.0.0

3 years ago

5.2.2

3 years ago

5.2.1

3 years ago

5.2.0

3 years ago

5.1.27

3 years ago

5.1.26

3 years ago

5.1.25

3 years ago

5.1.24

3 years ago

5.1.23

3 years ago

5.1.22

3 years ago

5.1.21

3 years ago

5.1.20

3 years ago

5.1.19

3 years ago

5.1.18

3 years ago

5.1.17

3 years ago

5.1.16

3 years ago

5.1.15

3 years ago

5.1.14

3 years ago

5.1.13

3 years ago

5.1.12

3 years ago

5.1.11

3 years ago

5.1.10

3 years ago

5.1.9

3 years ago

5.1.8

3 years ago

5.1.7

3 years ago

5.1.6

3 years ago

5.1.5

3 years ago

5.1.4

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.14

3 years ago

5.0.13

3 years ago

5.0.12

3 years ago

5.0.11

3 years ago

5.0.10

3 years ago

5.0.9

3 years ago

5.0.8

3 years ago

5.0.7

3 years ago

5.0.6

3 years ago

5.0.5

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.4.0

3 years ago

4.3.19

3 years ago

4.3.18

3 years ago

4.3.17

3 years ago

4.3.16

3 years ago

4.3.15

3 years ago

4.3.14

3 years ago

4.3.13

3 years ago

4.3.12

3 years ago

4.3.11

3 years ago

4.3.10

3 years ago

4.3.9

3 years ago

4.3.8

3 years ago

4.3.7

3 years ago

4.3.6

3 years ago

4.3.5

3 years ago

4.3.4

3 years ago

4.3.2

3 years ago

4.3.1

4 years ago

4.3.0

4 years ago

4.2.8

4 years ago

4.2.7

4 years ago

4.2.6

4 years ago

4.2.5

4 years ago

4.2.4

4 years ago

4.2.3

4 years ago

4.2.2

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.35

4 years ago

4.1.34

4 years ago

4.1.33

4 years ago

4.1.32

4 years ago

4.1.31

4 years ago

4.1.30

4 years ago

4.1.29

4 years ago

4.1.28

4 years ago

4.1.27

4 years ago

4.1.26

4 years ago

4.1.25

4 years ago

4.1.24

4 years ago

4.1.23

4 years ago

4.1.22

4 years ago

4.1.21

4 years ago

4.1.20

4 years ago

4.1.19

4 years ago

4.1.18

4 years ago

4.1.17

4 years ago

4.1.16

4 years ago

4.1.15

4 years ago

4.1.14

4 years ago

4.1.13

4 years ago

4.1.12

4 years ago

4.1.11

4 years ago

4.1.10

4 years ago

4.1.9

4 years ago

4.1.8

4 years ago

4.1.7

4 years ago

4.1.6

4 years ago

4.1.5

4 years ago

4.1.4

4 years ago

4.1.3

4 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.7

4 years ago

4.0.6

4 years ago

4.0.5

4 years ago

4.0.4

4 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.4.26

4 years ago

2.4.25

4 years ago

2.4.24

4 years ago

2.4.23

4 years ago

2.4.22

4 years ago

2.4.21

4 years ago

2.4.20

4 years ago

2.4.19

4 years ago

2.4.18

4 years ago

2.4.17

4 years ago

2.4.16

4 years ago

2.4.15

4 years ago

2.4.14

4 years ago

2.4.13

4 years ago

2.4.12

4 years ago

2.4.11

4 years ago

2.4.10

4 years ago

2.4.9

4 years ago

2.4.8

4 years ago

2.4.7

4 years ago

2.4.6

4 years ago

2.4.5

4 years ago

2.4.4

4 years ago

2.4.3

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.39

4 years ago

2.3.38

4 years ago

2.3.37

4 years ago

2.3.36

4 years ago

2.3.35

4 years ago

2.3.34

4 years ago

2.3.33

4 years ago

2.3.32

4 years ago

2.3.31

4 years ago

2.3.30

4 years ago

2.3.29

4 years ago

2.3.28

4 years ago

2.3.27

4 years ago

2.3.26

4 years ago

2.3.25

4 years ago

2.3.24

4 years ago

2.3.23

4 years ago

2.3.22

4 years ago

2.3.21

4 years ago

2.3.20

4 years ago

2.3.19

4 years ago

2.3.18

4 years ago

2.3.17

4 years ago

2.3.16

4 years ago

2.3.15

4 years ago

2.3.14

4 years ago

2.3.13

4 years ago

2.3.12

4 years ago

2.3.11

4 years ago

2.3.10

4 years ago

2.3.9

4 years ago

2.3.8

4 years ago

2.3.7

4 years ago

2.3.6

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.56

4 years ago

2.2.55

4 years ago

2.2.54

4 years ago

2.2.53

4 years ago

2.2.52

4 years ago

2.2.51

4 years ago

2.2.50

4 years ago

2.2.49

4 years ago

2.2.48

4 years ago

2.2.47

4 years ago

2.2.46

4 years ago

2.2.45

4 years ago

2.2.44

4 years ago

2.2.43

4 years ago

2.2.42

4 years ago

2.2.41

4 years ago

2.2.40

4 years ago

2.2.39

4 years ago

2.2.38

4 years ago

2.2.37

4 years ago

2.2.36

4 years ago

2.2.35

4 years ago

2.2.34

4 years ago

2.2.33

4 years ago

2.2.32

4 years ago

2.2.31

4 years ago

2.2.30

4 years ago

2.2.29

4 years ago

2.2.28

4 years ago

2.2.27

4 years ago

2.2.26

4 years ago

2.2.25

4 years ago

2.2.24

4 years ago

2.2.23

4 years ago

2.2.22

4 years ago

2.2.21

4 years ago

2.2.20

4 years ago

2.2.19

4 years ago

2.2.18

4 years ago

2.2.17

4 years ago

2.2.16

4 years ago

2.2.15

4 years ago

2.2.14

4 years ago

2.2.13

4 years ago

2.2.12

4 years ago

2.2.11

4 years ago

2.2.10

4 years ago

2.2.9

4 years ago

2.2.8

4 years ago

2.2.7

4 years ago

2.2.6

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago