Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noflo/noflo-xpress

High-level Express.js components for NoFlo
https://github.com/noflo/noflo-xpress

express noflo

Last synced: 9 days ago
JSON representation

High-level Express.js components for NoFlo

Awesome Lists containing this project

README

        

noflo-xpress
============

High-level Express.js components for NoFlo

## Installation

```
npm install --save noflo-xpress
```

## Usage Examples

- [Basic router](https://github.com/noflo/noflo-xpress/blob/master/test_graphs/BasicApp.fbp)
- [Advanced router](https://github.com/noflo/noflo-xpress/blob/master/test_graphs/RouterTest.fbp)
- [RESTful Resource](https://github.com/noflo/noflo-xpress/blob/master/test_graphs/ResourceTest.fbp)

## Changelog

#### 0.6.0
- Migrated from CoffeeScript to modern JavaScript

#### 0.5.0
- Updated for NoFlo 1.x

#### 0.4.1
- fixed lifecycle for Server component

#### 0.4.0
- added RESTful Resource router component

#### 0.3.0
- using process api in components & test_components
- components/Router does not store state, components/Server saves server as scoped state for shutdown()
- using noflo 0.8
- only 1 router for everything, removed lib/
- bumped express, uuid, and mocha dependencies
- testing on 4.x and 6.x on Travis

#### 0.2.2
- bumped chai, noflo, and mocha dependencies

#### 0.2.1

- `req.uuid` and `res.uuid` are set by routers before applying filters, so
request id is now available in filters as well as in downstream processes.

#### 0.2.0

- Split `Router` into 4 components with different inports: `Router`,
`PathRouter`, `FilterRouter` and `ComboRouter`. No meta ports configuration
anymore as it is not supported by Flowhub.
- `FILTER` port of type `function` is now `FILTERS` of type `array of function`
which allows chaining multiple filters.
- Remove obsolete `Route` component, use routers instead.
- Remove unused `ROUTER` outport from routers.