
<img height=80 align="left" src="http://nflow-js.github.io/assets/logo.svg">
# &nbsp;nflow JS

Event/data/control flow

 [![npm version](https://badge.fury.io/js/nflow.svg)](https://badge.fury.io/js/nflow) [![Dependency Status](https://www.versioneye.com/nodejs/nflow/badge.svg)](https://www.versioneye.com/nodejs/nflow)
 [![Circle CI](https://circleci.com/gh/nflow-js/nflow.svg?style=svg&circle-token=c48681c248ecfdd1fcbc94ca9f5dd2b39fd06fbc)](https://circleci.com/gh/nflow-js/nflow)
 [![bitHound Overall Score](https://www.bithound.io/github/nflow-js/nflow/badges/score.svg)](https://www.bithound.io/github/nflow-js/nflow)
 [![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)


### What is it?

nflow is a hierarchical event dispatcher for managing you application's event/data/control flow.

For docs and examples visit: **[http://nflow.js.org/](http://nflow.js.org/)**

### Installation

`npm i nflow --save`

### How to develop

nFlow uses webpack to compile the code, run the tests and run a local dev server:

Clone this repo and run:
 - `npm start`  
  - Unit tests are served on: http://localhost:5000/test/  
  (Hot loader: http://localhost:5000/webpack-dev-server/test)
  - Docs are served on: http://localhost:5000/docs/  
  (Hot Loader: http://localhost:5000/webpack-dev-server/docs)


### Unit Tests
To run all unit tests, clone this repo and run:
 - `npm install`
 - `npm test`
