0.4.3 • Published 9 years ago

4me.env v0.4.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
9 years ago

4me.env

build status coverage report

This library provides environment data to applications in the 4ME ecosystem.

Usage

Example :

import getEnv from '4me.env';

const env = getEnv('LFEE');
// {sectors: [Object object]}

Known environments

This library supports multiple environments definition as 4ME is deployed in multiple places.

Known environments are :

  • LFEE : Reims UAC

Nested APIs

sectors API

import getEnv from '4me.env';
const sectors = getEnv('LFEE').sectors;

Full API in docs/sectors.md

clients API

import getEnv from '4me.env';
const clients = getEnv('LFEE').clients;

Full API in docs/clients.md

frequencies API

import getEnv from '4me.env';
const frequencies = getEnv('LFEE').frequencies;

Full API in docs/frequencies.md

components API

import getEnv from '4me.env';
const frequencies = getEnv('LFEE').components;

Note: This API is only available is react is available to require. This allows the use of this libary on the backend without having to install react as a dependency. Full API in docs/components.md

XMAN API

import getEnv from '4me.env';
const frequencies = getEnv('LFEE').xman;

Full API in docs/xman.md

0.4.3

9 years ago

0.4.2

9 years ago

0.4.0

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.1

9 years ago