@studiohyperdrive/rxjs-utils
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

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:

Readme

Keywords

none

Package Sidebar

Install

npm i @studiohyperdrive/rxjs-utils

Weekly Downloads

127

Version

2.2.0

License

MIT

Unpacked Size

352 kB

Total Files

30

Last publish

Collaborators

  • wouterheirstrate
  • ekincia
  • bertyhell
  • shd-developer
  • ian-emsens-shd
  • jeroenvalcke
  • tom-odb
  • brilniels
  • thomasbormans
  • sanderh
  • laurenspeeters
  • rednas
  • denisvalcke
  • ibenvandeveire