Neverending Pun Machine

    async-trace-log

    1.2.5 • Public • Published

    Track and visualize all the Async functions in your code on the go

    add the file as a requirement function at the top of index.js file of your application require("asyncHookLog")([]) -- to track all the async objects require("asyncHookLog")([TickObject, TLSWrap]) -- to track all but these two async objects

    Now, running your code using node generates ./asyncLog.json file which contains log of the objects tracked and, hierarchy.png shows the hierarchy of async objects and total run time

    copy the visualize.html file to your local directory, or change the JSONFilePath in it(as required) now run serve the visualize.html in browser using a server to see a gantt chart of all async calls tracked

    Install

    npm i async-trace-log

    DownloadsWeekly Downloads

    15

    Version

    1.2.5

    License

    MIT

    Unpacked Size

    10.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • manjunathb_i1