Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex0007/cycle-express-driver
Express.js driver for Cycle.js
https://github.com/alex0007/cycle-express-driver
cycle-driver cyclejs expressjs
Last synced: about 1 month ago
JSON representation
Express.js driver for Cycle.js
- Host: GitHub
- URL: https://github.com/alex0007/cycle-express-driver
- Owner: Alex0007
- Created: 2017-03-08T22:15:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T10:11:41.000Z (almost 8 years ago)
- Last Synced: 2024-08-11T00:29:29.239Z (5 months ago)
- Topics: cycle-driver, cyclejs, expressjs
- Language: TypeScript
- Size: 69.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cycle-express-driver [![npm version](https://badge.fury.io/js/cycle-express-driver.svg)](https://badge.fury.io/js/cycle-express-driver) [![dependencies Status](https://david-dm.org/Alex0007/cycle-express-driver/status.svg)](https://david-dm.org/Alex0007/cycle-express-driver)
[Express.js](http://expressjs.com/) driver for [cycle.js](http://cycle.js.org/) forked from [here](https://github.com/whitecolor/cycle-express)## Stream of requests
```js
router.get('/').map(({id}) => {
return {id, send: 'Hello, world'}
})
```## Nested
```js
const nested = router.route('/api')
nested.post('/users').map((req) => {})
```## Example
Check out the minimal working sample at [Alex0007/cycle-express-hello-world](https://github.com/Alex0007/cycle-express-hello-world)