Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/noflo/noflo-xpress
- Owner: noflo
- Created: 2014-06-27T15:37:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T15:23:12.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T22:01:57.351Z (7 months ago)
- Topics: express, noflo
- Language: JavaScript
- Size: 106 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
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.