# mild-config

> Mild config for gulp

Latest version **0.1.2** (published 2016-11-08) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2016-11-08 |
| First published | 2016-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Guntur Poetra |
| Maintainers | guntur |
| Keywords | config, gulp, mild |

## Links

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

## Dependencies (1)

- [dot-prop](https://npm.io/package/dot-prop.md) ^4.0.0

## 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.2 (latest) — 2016-11-08
- 1.0.0-1 (next) — 2016-11-18
- 1.0.0-0 — 2016-11-17
- 0.1.1 — 2016-11-07
- 0.1.0 — 2016-11-02
- 0.0.0 — 2016-11-02

## README

# mild-config [![Build Status](https://travis-ci.org/iguntur/mild-config.svg?branch=master)](https://travis-ci.org/iguntur/mild-config)

> Mild config for gulp

Make easy and simple to setup __[gulp](https://www.npmjs.com/package/gulp)__ config tasks.


## Install

```
$ npm install --save mild-config
```


## Usage

``` js
const path = require('path');
const gulp = require('gulp');
const config = require('mild-config');

const source = path.join(config.get('js.sourcePath'), 'app.js');
const output = path.join(config.get('js.outputPath'), 'bundle.js');

gulp.task('script', () => {
    return gulp.src(source)
        .pipe(plugin1())
        .pipe(plugin2())
        .pipe(gulp.dest(output));
});
```


## API

> See [dot-prop](https://www.npmjs.com/package/dot-prop#api) API

### config.set(key, val)

### config.get(path)

- #### path

    Type: `string`

- #### key

    Type: `string`, `object`

- #### val

    Type: `any`


## Related

- [dot-prop](https://github.com/sindresorhus/dot-prop) - API for this module (Get, set, or delete a property from a nested object using a dot path)


## License

MIT © [Guntur Poetra](http://guntur.starmediateknik.com)

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