# settings-module

> Load config files from the CONFIG environment variable.

Latest version **0.1.2** (published 2017-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install settings-module
pnpm add settings-module
yarn add settings-module
bun add settings-module
```

## 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.1.2 |
| Published | 2017-09-21 |
| First published | 2016-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sau Ramirez |
| Maintainers | saumotions |

## Links

- npm: https://www.npmjs.com/package/settings-module
- Repository: https://github.com/sauramirez/settings-module
- Homepage: https://github.com/sauramirez/settings-module#readme
- Issues: https://github.com/sauramirez/settings-module/issues
- npm.io page: https://npm.io/package/settings-module

## Recent versions

- 0.1.2 (latest) — 2017-09-21
- 0.1.1 — 2017-09-20
- 0.1.0 — 2016-11-10

## README

# Settings module
Load config files from the CONFIG environment variable.

## Using settings-module
Node config is very simple. You set the filepath to the `CONFIG`
environment variable and settings-module will load it for you.

```js
// config.js
exports.API_KEY = 'TEST';

// lib/index.js
// process.env.CONFIG = ./config.js
const Config = require('settings-module');
Config.get('API_KEY');
```

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