# think-config

> config for ThinkJS

Latest version **1.1.3** (published 2021-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install think-config
pnpm add think-config
yarn add think-config
bun add think-config
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2021-07-24 |
| First published | 2017-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 1 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | welefen |
| Maintainers | lizheming, welefen, sijiecai, lushijie, berwin, bezos, toxicjohann, huangxiaolu |

## Links

- npm: https://www.npmjs.com/package/think-config
- Repository: https://github.com/thinkjs/think-config
- Homepage: https://github.com/thinkjs/think-config#readme
- Issues: https://github.com/thinkjs/think-config/issues
- npm.io page: https://npm.io/package/think-config

## Dependencies (1)

- [think-helper](https://npm.io/package/think-helper.md) ^1.1.3

## Recent versions

- 1.1.3 (latest) — 2021-07-24
- 1.1.2 — 2021-07-01
- 1.1.1 — 2018-06-21
- 1.1.0 — 2017-10-26
- 1.0.5 — 2017-10-16
- 1.0.4 — 2017-07-29
- 1.0.3 — 2017-05-22
- 1.0.2 — 2017-02-24
- 1.0.0 — 2017-02-24

## README

# think-config

Config manager for ThinkJS 3.x

## How to use

```
npm install think-config
```

```js
const Config = require('think-config');
const instance = new Config(config);
instance.get('name'); 
instance.get('foo.bar');
instance.get(); // get all config
instance.get('name', otherConfig);

instance.set('name', value);
instance.set('foo.bar', value);
```

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