# kunfig

> A minimlistic config loader

Latest version **0.1.3** (published 2015-06-22) · 0 weekly downloads

## Install

```sh
npm install kunfig
pnpm add kunfig
yarn add kunfig
bun add kunfig
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-06-22 |
| First published | 2015-03-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | Marin Nelson |
| Maintainers | nelsmar |
| Keywords | config |

## Links

- npm: https://www.npmjs.com/package/kunfig
- Repository: https://github.com/nelsmar/kunfig
- Homepage: https://github.com/nelsmar/kunfig#readme
- Issues: https://github.com/nelsmar/kunfig/issues
- npm.io page: https://npm.io/package/kunfig

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ~3.3.1

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2015-06-22
- 0.1.2 — 2015-03-06
- 0.1.1 — 2015-03-04
- 0.1.0 — 2015-03-04

## README

KUNFIG
======
Kunfig is a simplistic **config manager**. This allows you to load a base configuration file for your nodejs application as well as an environmental config at the same time.

## Installation
Start by installing the module via npm:
```bash
$ npm install kunfig
```
Create a folder named ```config/env``` under the root of your project. Inside of the env folder create an ```all.js```, ```dev.js```, and ```prod.js```

From inside your node application you can call the configuration by simply using require!
```javascript
var config = require('kunfig');
```

If you would like to use an alternative configuration directory you can do the following:
```javascript
var config = require('kunfig').configPath('./myConfigs');
```

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