# configucius

> Config loader

Latest version **5.1.1** (published 2020-01-26) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.1.1 |
| Published | 2020-01-26 |
| First published | 2016-12-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | laggingreflex |

## Links

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

## Dependencies (1)

- [enquire-simple](https://npm.io/package/enquire-simple.md) ^2.2.0

## Recent versions

- 5.1.1 (latest) — 2020-01-26
- 5.1.0 — 2020-01-15
- 5.0.0 — 2020-01-13
- 4.0.1 — 2020-01-06
- 4.0.0 — 2020-01-06
- 3.0.0 — 2019-12-28
- 2.0.0 — 2018-01-31
- 1.1.1 — 2017-08-14
- 1.1.0 — 2017-08-14
- 1.0.0 — 2017-08-14
- 0.12.1 — 2017-08-14
- 0.12.0 — 2017-08-14
- 0.11.1 — 2017-05-10
- 0.11.0 — 2017-05-10
- 0.10.0 — 2017-05-10
- … 13 more at https://npm.io/package/configucius/versions

## README

# configucius

A config with prompt and read/save-to-file capabilities.

## Install


```
npm install configucius
```

## Usage

```js
const Config = require('configucius')

const config = new Config({ path: '~/config.json' })
config.$load('~/config.json')
config.$load({ key: 'value' })

config.key // => 'value'

await config.$prompt('key') // => Prompts for "key"

config.$save() // saves to `~/config.json`
```

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