Skip to content
プロジェクト

概要

Observableの動きを見通す。

その他のプロジェクト

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

npm version MIT license

RxJS Insights

RxJS Insights

RxJS Insights is a toolset that helps you debug and visualize the observables in your app.

✨ Developer friendly: Easy to set up. Easy to use.

✨ Unobtrusive: Does not require source code modification.

✨ Comprehensive: Tracks all types of events and relations.

The data gathered by the RxJS Insights includes the information about:

  • constructor calls, including the arguments passed to it, the name of the Observable (sub)class, and the source code location of the call,
  • creation operator calls, including the arguments passed to it, the name of the operator, and the source code location of the call,
  • pipeable operator calls, including the arguments passed to it, the name of the operator, and the source code location of the call,
  • subscribers (i.e. the instances of the running observables), including the relation to the parent observable, as well as relations to other subscribers that are either sources or destinations of the given subscriber,
  • callers (i.e. the connection with the world outside the RxJS, e.g. direct subscribe calls from the application), including the arguments passed to it, and the source code location of the call,
  • events, including the notification events (i.e. next, error, and complete) and subscription events (i.e. subscribe and unsubscribe), as well as relations to other events that either caused or are caused by the given event,
  • async tasks within which the events happened (e.g. setTimeout, setInterval, DOM events, REST events, etc.).

Get Chrome extension

Get Firefox extension

Try it out on StackBlitz ⚡

Example console output

Documentation

Future work

  • 🧩 Create plugins for other bundlers (e.g. Rollup, Parcel, etc.),
  • 🧩 Add more visualization options (e.g. marble diagrams),
  • 🧩 Allow for better customization.

関連プロジェクトを探す

読み込み中…