Piper for Node.js express apps.
npm i hukx --save
// Import express and instanciate router
const express = require('express')
const router = express.Router()
// Import hukx and create a instance
const { hukx, piperOf } = require('hukx')
const piper = piperOf(router)
// Define a route with a pipe
piper.get('/', hukx.pipe(
... // Rxjs operators
))
// Export router
module.exports = router
Udesh Kumarasinghe - UdeshUK on GitHub, ThatUdeshUK on Twitter
Apache 2.0. See the LICENSE file for details.