2.2.0 • Published 16 days ago

@studiohyperdrive/rxjs-utils v2.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
16 days ago

RxJS Utilities (@studiohyperdrive/rxjs-utils)

Install the package first:

npm install @studiohyperdrive/rxjs-utils

1. Operators

A set of custom operators.

catchAndCallThrough

An operator that wraps around the default catchError and returns a new observable with the error to continue the stream.

Full documentation.

combineBoolean

An operator that wraps around the default combineLatest and returns a boolean to indicate that all streams have values.

Full documentation.

populate

An operator that will populate provided values in an observable, if the provided values are empty or match with a populateIf function.

Full documentation.

fetchIf

An operator that will return a value from an observable source when present or fetch it when not.

Full documentation.

pluck

An operator that is a custom implementation of the RxJS version, the original one is deprecated in favour of map.

Full documentation.

pluckOr

An operator that will pluck a value based on its existence, with a list of property names in case the property is empty.

Full documentation.

validateContent

An operator that wraps around the default filter and returns a boolean depending on the existence of a value in the stream.

Full documentation.

2. Types

Observables

A collection of types that extend the default Observable interface.

Full documentation.

build information

This project has been build with:

  • nodejs: 18.17.0
  • npm: 9.6.7

For a complete list of packages and version check out the package.json file.

Team

This bundle of tools has been created and is maintained by Studio Hyperdrive.

Contributors:

2.2.0

16 days ago

2.1.1

23 days ago

2.1.0

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.1.0

5 months ago

1.0.1

9 months ago

1.0.0

9 months ago