Catalog npm
Back to packageRELEASE DETAILS

0.4.0

npm

4me.env

4ME Environment library

4me
Published6 Jan 2017
Direct dependencies20
Transitive dependenciesNot calculated

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 21

Native requirements
20 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@turf/turf
Environment
{
  "local_name": "@turf/turf",
  "alias": false,
  "peer_metadata": null
}
^3.7.1runtime
flexbox-react
Environment
{
  "local_name": "flexbox-react",
  "alias": false,
  "peer_metadata": null
}
^4.1.0runtime
invariant
Environment
{
  "local_name": "invariant",
  "alias": false,
  "peer_metadata": null
}
^2.2.2runtime
ramda
Environment
{
  "local_name": "ramda",
  "alias": false,
  "peer_metadata": null
}
^0.21.0runtime
@kadira/storybook
Environment
{
  "local_name": "@kadira/storybook",
  "alias": false,
  "peer_metadata": null
}
^2.35.2development
babel-cli
Environment
{
  "local_name": "babel-cli",
  "alias": false,
  "peer_metadata": null
}
^6.18.0development
babel-core
Environment
{
  "local_name": "babel-core",
  "alias": false,
  "peer_metadata": null
}
^6.18.2development
babel-plugin-transform-flow-strip-types
Environment
{
  "local_name": "babel-plugin-transform-flow-strip-types",
  "alias": false,
  "peer_metadata": null
}
^6.18.0development
babel-preset-es2015
Environment
{
  "local_name": "babel-preset-es2015",
  "alias": false,
  "peer_metadata": null
}
^6.18.0development
babel-preset-react
Environment
{
  "local_name": "babel-preset-react",
  "alias": false,
  "peer_metadata": null
}
^6.16.0development
babel-preset-stage-1
Environment
{
  "local_name": "babel-preset-stage-1",
  "alias": false,
  "peer_metadata": null
}
^6.16.0development
enzyme
Environment
{
  "local_name": "enzyme",
  "alias": false,
  "peer_metadata": null
}
^2.6.0development
enzyme-to-json
Environment
{
  "local_name": "enzyme-to-json",
  "alias": false,
  "peer_metadata": null
}
^1.4.4development
flow-bin
Environment
{
  "local_name": "flow-bin",
  "alias": false,
  "peer_metadata": null
}
0.37.4development
flow-copy-source
Environment
{
  "local_name": "flow-copy-source",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
jest
Environment
{
  "local_name": "jest",
  "alias": false,
  "peer_metadata": null
}
^17.0.3development
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^15.4.1development
react-addons-test-utils
Environment
{
  "local_name": "react-addons-test-utils",
  "alias": false,
  "peer_metadata": null
}
^15.4.1development
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^15.4.1development
rimraf
Environment
{
  "local_name": "rimraf",
  "alias": false,
  "peer_metadata": null
}
^2.5.4development
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^15.0.0peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "70f3e6054d800a2b608ac28c578c5903698ed2fe",
  "tarball": "https://registry.npmjs.org/4me.env/-/4me.env-0.4.0.tgz",
  "integrity": "sha512-/KBJvl/5vKWqYoVFyWBl3cLM9QnMj4sP0Zh967CYS8iERZqRcoVRVeOhtM9/T+tZz6qNQ5ibvcch97UyblCOhg==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDTbUj+To48H96llUS1hc1yMH10GW0v/txdDkTTHCz2pAIhAJVdQUTdJi9+UFQDAjYSgy1cwB0quQnnabQ3Au6pSMIE"
    }
  ]
}

Repository

NOT_FOUND
devteamreims/4me.env

Shared repository data · GitLab

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f9b71c5227b29fe37a5403c3fac84fd51ca57e3596c8b5a7e253d7aa43415640

Other collected versions

0.4.36 Jan0.4.26 Jan0.3.112 Dec0.3.010 Dec0.2.410 Dec0.2.310 DecView all collected versions →