Skip to content

ckapps/rxjs-parse

Repository files navigation

CI Coverage Status semantic-release: angular

npm version npm version

@ckapp/rxjs-parse

Dynamic creation of rxjs observables and operators from data.

Branches / Versions

  • main - Contains the most recent version
npm install @ckapp/rxjs-parse
  • next - Contains the next version
npm install @ckapp/rxjs-parse@next

Most PRs should be made to main.

Check our branching and release strategy.

Installation and Usage

ES6 via npm

npm i @ckapp/rxjs-parse

Usage

  1. Create a parser
  2. Chain other parsers
  3. Use parser
import { create } from '@ckapp/rxjs-parse/core';
import { rxjsParsers } from '@ckapp/rxjs-parse/common';

// Create a parser
const parser = create().chain(
  // Chain specific parsers
  rxjsParsers()
);

// Create observables
const observable = parser.parse(...);

Building/Testing

  • npm test run tests