AsyncOptics is an asynchronous code viewer, performance monitor, and package monitor for Node.js applications. It is able to track and monitor asynchronous functions with Node.js' Async Hooks and Perf Hooks. The aggregated information is displayed in a Sankey diagram with hierarchical behavior for asynchronous functions and as a Sunburst graph for information of package monitoring. The Sankey diagram handles real-time changes for live testing and allows hovering capabilities to show specific information on desired functions on a lower panel.
npm i async-optics
const {asyncMonitor, pkgMonitor} = require('async-optics'); asyncMonitor(PortNumber); // asyncMonitor(3000); pkgMonitor(complete path to package.json file); //pkgMonitor(path.join(__dirname, '../package.json')); - run your program, go to http://localhost:PortNumber
async monitor pkg monitor This is an open source product, please feel free to fork and make pull requests!
Any suggestions are welcomed!
- Aleksander Turberville - https://github.com/Aturberv
- Sarah Renshaw - https://github.com/sartra
- Penghe Wu - https://github.com/wupenghe92
- Ralph Salazar - https://github.com/pjr4lph
This project is licensed under the MIT License - see the LICENSE.md file for details
- Our Sankey diagram was built with the Styled Sankey library built by Eugene Kardash


