# n3h-check-flow

> Help check the correction of a flow.

Latest version **1.0.0** (published 2018-04-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install n3h-check-flow
pnpm add n3h-check-flow
yarn add n3h-check-flow
bun add n3h-check-flow
```

## 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 | 1.0.0 |
| Published | 2018-04-07 |
| First published | 2018-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | zhaoyao91 |
| Maintainers | zhaoyao91 |
| Keywords | n3h, check-flow |

## Links

- npm: https://www.npmjs.com/package/n3h-check-flow
- Repository: https://github.com/zhaoyao91/n3h
- Homepage: https://github.com/zhaoyao91/n3h#readme
- Issues: https://github.com/zhaoyao91/n3h/issues
- npm.io page: https://npm.io/package/n3h-check-flow

## Dependencies (3)

- [ensure-array](https://npm.io/package/ensure-array.md) ^1.0.0
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.5.0
- [lodash.includes](https://npm.io/package/lodash.includes.md) ^4.3.0

## Recent versions

- 1.0.0 (latest) — 2018-04-07

## README

# N3H Check Flow

Help check the correction of a flow.

## Installation

`npm install --save-dev n3h-check-flow`

## Usage

In your test file:

```javascript
const checkFlow = require('n3h-check-flow')

const stepDefinitions = ...

checkFlow(stepDefinitions, {
  serviceName: 'some-service',
  flowName: 'some-flow',
  entries: ['step1'],
  follows: [
    ['step2', 'step1', 'ok'],
    ['step3', 'step1', 'failed'],
    ['step3', 'step2', 'failed']
  ]
})
```

## API

[Documentation](./api.md)

## License

MIT

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