kumavis

kumavis/browser-process-hrtime

:watch: Browser shim for Node.js process.hrtime()

JavaScript
26
8
BSD 2-Clause "Simplified" License

This project provides a browser-compatible shim for Node.js's `process.hrtime()` function, allowing developers to use high-resolution timing in both Node.js and browser environments with a consistent API. It's designed for developers who need precise timing measurements in their applications but want to ensure compatibility across different JavaScript runtimes. The module is particularly useful for performance monitoring, benchmarking, or any scenario requiring accurate time deltas.

Total donated
Undistributed
Share with your subscribers: