# base-config-process

> Commonly used config mappings for the base-config plugin. Also pre-processes the given object with base-config-schema before calling `.process()`

Latest version **0.1.9** (published 2016-07-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install base-config-process
pnpm add base-config-process
yarn add base-config-process
bun add base-config-process
```

## 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.9 |
| Published | 2016-07-13 |
| First published | 2016-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 10 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | api, app, application, args, base, base-config, baseplugin, building-blocks, cli, commands, config, create, framework, normalize, plugin, plugins, process, tool, toolkit, tools |

## Links

- npm: https://www.npmjs.com/package/base-config-process
- Repository: https://github.com/jonschlinkert/base-config-process
- Issues: https://github.com/jonschlinkert/base-config-process/issues
- npm.io page: https://npm.io/package/base-config-process

## Dependencies (10)

- [debug](https://npm.io/package/debug.md) ^2.2.0
- [base-cwd](https://npm.io/package/base-cwd.md) ^0.3.4
- [lazy-cache](https://npm.io/package/lazy-cache.md) ^2.0.1
- [micromatch](https://npm.io/package/micromatch.md) ^2.3.10
- [mixin-deep](https://npm.io/package/mixin-deep.md) ^1.1.3
- [base-config](https://npm.io/package/base-config.md) ^0.5.2
- [base-option](https://npm.io/package/base-option.md) ^0.8.4
- [export-files](https://npm.io/package/export-files.md) ^2.1.1
- [is-valid-app](https://npm.io/package/is-valid-app.md) ^0.2.0
- [base-config-schema](https://npm.io/package/base-config-schema.md) ^0.1.18

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.9 (latest) — 2016-07-13
- 0.1.8 — 2016-07-07
- 0.1.7 — 2016-06-15
- 0.1.6 — 2016-06-09
- 0.1.5 — 2016-06-01
- 0.1.4 — 2016-05-23
- 0.1.3 — 2016-04-20
- 0.1.2 — 2016-04-15
- 0.1.1 — 2016-04-11
- 0.1.0 — 2016-03-31

## README

# base-config-process [![NPM version](https://img.shields.io/npm/v/base-config-process.svg?style=flat)](https://www.npmjs.com/package/base-config-process) [![NPM downloads](https://img.shields.io/npm/dm/base-config-process.svg?style=flat)](https://npmjs.org/package/base-config-process) [![Build Status](https://img.shields.io/travis/jonschlinkert/base-config-process.svg?style=flat)](https://travis-ci.org/jonschlinkert/base-config-process)

Commonly used config mappings for the base-config plugin. Also pre-processes the given object with base-config-schema before calling `.process()`

## Table of Contents

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save base-config-process
```

## Usage

Normalizes the given object with [base-config-schema](https://github.com/jonschlinkert/base-config-schema) before calling the `.process` method from [base-config](https://github.com/node-base/base-config).

```js
var Base = require('base');
var config = require('base-config-process');

var app = new Base();
app.use(config());

var pkg = require('./package');

app.config.process(pkg, function(err) {
  if (err) throw err;
});
```

## About

### Related projects

* [base-cli](https://www.npmjs.com/package/base-cli): Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… [more](https://github.com/node-base/base-cli) | [homepage](https://github.com/node-base/base-cli "Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a few plugins, like 'base-store', 'base-options' and 'base-data'.")
* [base-config-schema](https://www.npmjs.com/package/base-config-schema): Schema for the base-config plugin, used for normalizing config values before passing them to config.process(). | [homepage](https://github.com/jonschlinkert/base-config-schema "Schema for the base-config plugin, used for normalizing config values before passing them to config.process().")
* [base-config](https://www.npmjs.com/package/base-config): base-methods plugin that adds a `config` method for mapping declarative configuration values to other 'base… [more](https://github.com/node-base/base-config) | [homepage](https://github.com/node-base/base-config "base-methods plugin that adds a `config` method for mapping declarative configuration values to other 'base' methods or custom functions.")

### Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

### Building docs

_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_

To generate the readme and API documentation with [verb](https://github.com/verbose/verb):

```sh
$ npm install -g verb verb-generate-readme && verb
```

### Running tests

Install dev dependencies:

```sh
$ npm install -d && npm test
```

### Author

**Jon Schlinkert**

* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

### License

Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the MIT license.

***

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 13, 2016._

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