Function-Tracer
Category: dev-toolLightweight universal function profiler
A tiny zero-dependency TypeScript utility that wraps any sync/async function to automatically track performance, call counts, error rates, and provide real-time statistics for production monitoring and alerting. Works everywhere - Node.js, browsers, serverless, edge functions.



Available Features
function-trace is a minimal, zero-dependency TypeScript utility that gives you deep visibility into your application's real performance behavior with almost zero effort.
- One-line instrumentation for any sync or async function
- Automatic tracking of execution time, call count & error rate
- Configurable thresholds with warning/error logging
- Real-time statistics ready for monitoring & alerting
- Works seamlessly across Node.js, browsers, serverless & edge
function-trace is intentionally kept extremely lightweight and uses only modern JavaScript/TypeScript features:
- TypeScript
- Native JavaScript (Performance API)
- No external dependencies
In summary, function-trace is the perfect lightweight companion for any TypeScript/JavaScript developer who wants better production performance visibility without introducing heavy observability tools or complex setup.
Open source and ready to use today.

Masum Billah
Web Developer