# @recipher/initializer

> Initializer helper

Latest version **2.0.1** (published 2016-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @recipher/initializer
pnpm add @recipher/initializer
yarn add @recipher/initializer
bun add @recipher/initializer
```

## 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-11-21 |
| First published | 2016-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.12.x |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Johnny Hall |
| Maintainers | recipher |

## Links

- npm: https://www.npmjs.com/package/@recipher/initializer
- Repository: https://github.com/recipher/initializer
- Homepage: https://github.com/recipher/initializer#readme
- Issues: https://github.com/recipher/initializer/issues
- npm.io page: https://npm.io/package/@recipher/initializer

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^1.1.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.1
- [@recipher/log](https://npm.io/package/@recipher/log.md) ^1.0.0
- [@recipher/configuration](https://npm.io/package/@recipher/configuration.md) ^1.0.0

## Recent versions

- 2.0.1 (latest) — 2016-11-21
- 2.1.0 — 2016-11-19
- 2.0.0 — 2016-11-15

## README

## @recipher/initializer

Initializer helper.

### Usage

Locate your initializers in the ```lib/initializers``` folder. Given an initializer at ```lib/initializers/routes.js```, then to call the initializer:

```javascript

var initialize = require('@recipher/initializer');

initialize('routes');
```

The initializer should export a function:

```javascript

module.exports = function(apps, options) {
  // Do something with apps and options
};
```

To pass arguments to the initializer:

```javascript
initialize('routes', apps, options);
```

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