# cfg-loader-webpack

Latest version **0.3.0** (published 2019-05-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install cfg-loader-webpack
pnpm add cfg-loader-webpack
yarn add cfg-loader-webpack
bun add cfg-loader-webpack
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2019-05-07 |
| First published | 2018-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8.x.x |
| Dependencies | 2 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Karel Ploc |
| Maintainers | hhhonzik |

## Links

- npm: https://www.npmjs.com/package/cfg-loader-webpack
- Repository: https://github.com/plockare/config_loader
- Homepage: https://github.com/plockare/config_loader#readme
- Issues: https://github.com/plockare/config_loader/issues
- npm.io page: https://npm.io/package/cfg-loader-webpack

## Dependencies (2)

- [dottie](https://npm.io/package/dottie.md) ^1.1.1
- [lodash](https://npm.io/package/lodash.md) ^4.16.6

## Recent versions

- 0.3.0 (latest) — 2019-05-07
- 0.2.0 — 2018-04-30
- 0.1.1 — 2018-04-05
- 0.1.0 — 2018-04-05

## README

#Config loader

Cfg loader can load up configs for different environments from config files, env variables or newly can read secrets from filesystem. In particular, this can be used to load passwords from Docker secrets stored in `/run/secrets/<secret_name>` files.

## Install

```bash
# with npm
npm install cfg-loader

# or with Yarn
yarn add cfg-loader
```

## Usage

```javascript
import config, {load as configLoad} from 'cfg-loader';

configLoad(__dirname + '/../config');

// now the config property will contain the whole configuration 
console.log(config);
```

---
_Source: https://npm.io/package/cfg-loader-webpack · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
