Skip to content

basics/rxjs-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rxjs-collection

main next Sonarcloud Status

npm version npm downloads

Renovate - Status License

Open in StackBlitz Coverage Report


Installation

# npm
npm install fast-equals github:basics/rxjs-collection

# pnpm
pnpm add fast-equals github:basics/rxjs-collection

⚠️ The dependency “fast-equals” must be installed separately. Temporarily, until the packages are published on npmjs.com.

Temporary adjustments as not published

As these packages have not yet been published on npmjs.com, adjustments may need to be made locally in the project.

Example Vite

This resolve is required for the Vite bundler so that the packages can be resolved correctly.

vite.config.ts

export default defineConfig({
  resolve: {
    alias: {
      'rxjs-collection/operators': resolve(__dirname, '../node_modules/rxjs-collection/packages/operators/dist/index.mjs'),
      'rxjs-collection/observables': resolve(__dirname, '../node_modules/rxjs-collection/packages/observables/dist/index.mjs')
    }
  }
});

Usage

Observables

import { connectionObservable } from 'rxjs-collection/observables';

Operators

import { autoPagination } from 'rxjs-collection/operators';

⚠️ Please note: The packages are still under development and may be subject to change. Integration via @rxjs-collection/observables or @rxjs-collection/operators is currently not possible.