# node-qconf

> QConf Node.js Addon

Latest version **0.4.2** (published 2020-06-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-qconf
pnpm add node-qconf
yarn add node-qconf
bun add node-qconf
```

## 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.4.2 |
| Published | 2020-06-10 |
| First published | 2015-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 7 |
| Author | mdemo |
| Maintainers | jiasm, mdemo, nieweidong |
| Keywords | qconf, node-qconf |

## Links

- npm: https://www.npmjs.com/package/node-qconf
- Repository: https://github.com/bluedapp/node-qconf
- Homepage: https://github.com/bluedapp/node-qconf#readme
- Issues: https://github.com/bluedapp/node-qconf/issues
- npm.io page: https://npm.io/package/node-qconf

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^2.14.1

## Recent versions

- 0.4.2 (latest) — 2020-06-10
- 0.4.1 — 2020-06-08
- 0.4.0 — 2020-06-08
- 0.3.1 — 2019-04-18
- 0.3.0 — 2019-04-17
- 0.2.0 — 2016-03-14
- 0.1.2 — 2015-10-29
- 0.1.1 — 2015-10-29
- 0.1.0 — 2015-10-29

## README

# node-qconf
Qihoo360 QConf(https://github.com/Qihoo360/QConf) Node.js addon.

[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][npm-url]
[![Node.js dependencies][david-image]][david-url]

## Installation

```
$ npm install node-qconf --save
```

Notes:

* You need set the Environment Variable QCONF_INSTALL before install this addon.

```
$ export QCONF_INSTALL=/home/work/local/qconf(For MacOS use: export QCONF_INSTALL=/usr/local/qconf)
$ npm install node-qconf --save
```

## Useage

```
var qconf = require('node-qconf');

console.log('version:', qconf.version())
console.log('getConf:', qconf.getConf('/demo'))
console.log('getBatchKeys:', qconf.getBatchKeys('/backend', 'test'))
console.log('getBatchConf:', qconf.getBatchConf('/backend/umem/users'))
console.log('getAllHost:', qconf.getAllHost('/backend/umem/users'))
console.log('getHost:', qconf.getHost('/backend/umem/users'))

```


[npm-image]: https://img.shields.io/npm/v/node-qconf.svg?style=flat-square
[npm-url]: https://npmjs.org/package/node-qconf
[downloads-image]: https://img.shields.io/npm/dm/node-qconf.svg?style=flat-square
[david-image]: https://img.shields.io/david/bluedapp/node-qconf.svg?style=flat-square
[david-url]: https://david-dm.org/bluedapp/node-qconf

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