Nonstop Perpetual Motion

    trace-machine

    0.0.5 • Public • Published

    Trace Machine tracks JS objects in real time and emit events through emitter

    Usage:

     
    const createSpy = require('trace-machine');
    const logger = new EventEmitter;
    const spy = createSpy({logger});
     
    spy({a: 123}).a; // emitted event 'get'
     

    available events: 'get', 'set', 'call', 'ret', 'new'

    Install

    npm i trace-machine

    DownloadsWeekly Downloads

    19

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • hex13