An open API service indexing awesome lists of open source software.

https://github.com/mrloop/object-tracer


https://github.com/mrloop/object-tracer

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# object-tracer

**A work in progress**

`object-tracer` allows you to listen to different events on an object:
* `Method Calls` - what does the object do
* `Traces` - TODO - how the object is used by the application
* `State Mutations` - what happens inside the object

Heavily inspired by the ruby package [`ObjectTracer`](https://github.com/st0012/object_tracer)

**The goal is to let you know all the information you need for debugging with a single line of code.**

## Installation

```
pnpm install object-tracer --save-dev
```

## Usage

### Track Method Calls

### Track Traces

### Track State Mutations

### Track All Instances of a a Class