https://github.com/jadbox/rxjs-plus
RxJS wrapper with common short-hands and predicates
https://github.com/jadbox/rxjs-plus
Last synced: 10 days ago
JSON representation
RxJS wrapper with common short-hands and predicates
- Host: GitHub
- URL: https://github.com/jadbox/rxjs-plus
- Owner: jadbox
- License: apache-2.0
- Created: 2015-09-07T02:11:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T18:13:11.000Z (over 10 years ago)
- Last Synced: 2025-12-02T20:46:11.923Z (7 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rxjs-plus
RxJS wrapper with common short-hands and predicates
```
Observable.filterIncludes(filterBy)
```
> Filters each item that contains the specified value
```
Observable.filterContains(filterBy)
```
> Alias for filterIncludes
```
Observable.filterNotNull()
```
> Filters values that are not null or undefined
```
Observable.filterNotEmpty()
```
> Filters values that are not 0 or empty string or any JS value that evals to false
```
Observable.mapAdd(addWith)
```
> Uses addition op with the parameter, the parameter will be used last in the operation
```
Observable.mapPreAdd(addWith)
```
> Uses addition op with the parameter, with the parameter first in the operation
```
Observable.filterDash(filterBy)
```
Uses lodash style of filtering
[https://lodash.com/docs#filter](https://lodash.com/docs#filter)
```
Observable.propertyFilter(props, filterBy)
Observable.propertyIncludes(props, filterIncludes)
Observable.propertyContains = propertyIncludes
```
Property filter on stream objects