Options
All
  • Public
  • Public/Protected
  • All
Menu

RxJS Primitives

RxJS Primitives

RxJS Primitives is a set of libraries that provide operators for RxJS.

The libraries included are below, but you can also find ful API Documentation is available with examples.

This library is open source on Github and available to install as an npm modules.

rxjs-array rxjs-boolean rxjs-number rxjs-string rxjs-utility Quality Gate Status Code Coverage

What are these libraries?

This set of libraries provides some low-level operators for handling different operations with Observable values of primitive types (string, number, boolean, etc).

Some of these operators use methods from ECMAScript built-in objects such as String and Number and it also includes some convenience Boolean methods.

While most of these are one-line operators, they allow developers to avoid having to handle their own mapping or logic when it comes to some common used methods.

If you are looking for arethmetic operators (add, multiply, etc) then check out rxmetrics

rxjs-array

A set of utility operators for various method for Observable arrays

Installation

npm install @tinynodes/rxjs-array

Information

rxjs-boolean

A set of utility operators for handling equality checking and boolean values from Observable values

Installation

npm install @tinynodes/rxjs-boolean

Information

rxjs-number

A set of operators for working with Observable number values. This collection includes operators based on ECMAScript Number.

Where are method is an equality check (e.g. isInteger) there is also a corresponding fromIsInteger that returns the value rather than a boolean value (the only exception is isNaN which does not make sense to have this).

There are also operators for formatting numbers as strings such as toLocaleString and from strings such as parseInt.

Installation

npm install @tinynodes/rxjs-number

Information

rxjs-string

A set of operators for working with Observable string values. This collection includes operators based on ECMAScript String.

Where are method is an equality check (e.g. endsWith) there is also a corresponding fromEndWith that returns the value rather than a boolean value.

There are also methods for querying strings, generating substrings, exploding strings or formatting.

Installation

npm install @tinynodes/rxjs-string

Information

rxjs-utility

A set of extra utility operators that provide some useful functionality when dealing with Observable values

Installation

npm install @tinynodes/rxjs-utility

Information

Generated using TypeDoc