rxxpress
By Eugene Ghanizadeh Khoub • Added July 18, 2020 •
An experimental mash-up of RxJS and Express.
npm i rxxpress
// router.ts
import { Router, respond } from 'rxxpress';
const router = new Router();
router.get('/').pipe(respond(() => 'Hellow World!')).subscribe();
// index.ts
import * as express from 'express';
import router from './router';
const app = express();
app.use(router.core);
app.listen(3000);