Git Product home page Git Product logo

rxjs-insights's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.