Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpankajarun/stream-operations-with-rxjs
Fundamental functions on simple streams to practice RxJS and Stream Operations.
https://github.com/mpankajarun/stream-operations-with-rxjs
javascript observable-streams rxjs stream-processing
Last synced: about 1 month ago
JSON representation
Fundamental functions on simple streams to practice RxJS and Stream Operations.
- Host: GitHub
- URL: https://github.com/mpankajarun/stream-operations-with-rxjs
- Owner: MPankajArun
- Created: 2018-02-07T05:17:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T07:08:23.000Z (almost 7 years ago)
- Last Synced: 2024-02-03T23:48:48.455Z (11 months ago)
- Topics: javascript, observable-streams, rxjs, stream-processing
- Language: HTML
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Operations on Simple Streams
The fundamental functions on simple streams—those that emit simple values, like strings—include:1. map()
2. filter()
3. reduce()
4. take() / takeWhile()
5. concat() & merge()
6. switch()With the exception of take() and takeWhile(), these are analogous to JavaScript’s higher-order array functions.
We’ll apply each of these by solving an example problem: Finding all the users in our database who have a .com or .org website, and calculating the average length of their websites’ names.
JSONPlaceholder will be our source of users. Here’s the JSON representation of the user data we’ll be working with.