# call_with_config

> call with config

Latest version **2.0.1** (published 2016-07-08) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.1 |
| Published | 2016-07-08 |
| First published | 2016-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | i5ting |
| Maintainers | i5ting |
| Keywords | call, config, koa, express, js |

## Links

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

## Dependencies (1)

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

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.0.1 (latest) — 2016-07-08
- 2.0.0 — 2016-07-08
- 1.0.3 — 2016-07-07
- 1.0.1 — 2016-07-07

## README

# call_with_config

call funtion with config(json object)

[![gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/i5ting/call_with_config?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![NPM version](https://img.shields.io/npm/v/call_with_config.svg?style=flat-square)](https://www.npmjs.com/package/call_with_config)
[![Build](https://travis-ci.org/i5ting/call_with_config.svg?branch=master)](https://travis-ci.org/i5ting/call_with_config)
[![codecov.io](https://codecov.io/github/i5ting/call_with_config/coverage.svg?branch=master)](https://codecov.io/github/i5ting/call_with_config?branch=master)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

## Install 

```
$ npm i -S call_with_config@2
```

## API

> call_with_config(key, config, cumtomKey)

- key = module name or local module
- config for param
- if cumtomKey exist, load config from config[cumtomKey]

## Usages

```
var call_with_config = require('.')

var r = call_with_config('./favicon', {
  './favicon':{
    'path': 'sss'
  },
  'empty-favicon':{
    
  }
});

console.dir(r.toString())
```

or

```
var call_with_config = require('.')

var r = call_with_config('koa-favicon', {
  'koa-favicon':{
    'path': 'sss',
    'options': {
      'maxAge': 1
    }
  }
});

console.dir(r.toString())

```

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