@techmely/utils
Version:
Collection of helpful JavaScript / TypeScript utils
22 lines (18 loc) • 425 B
JavaScript
/*!
* @techmely/utils
* Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com>
* MIT Licensed
*/
import "./chunk-NYLAFCGV.mjs";
// src/timeSpanBr.ts
function timeSpanBr() {
const start = performance.now();
const end = () => performance.now() - start;
end.rounded = () => Math.round(end());
end.seconds = () => end() / 1e3;
end.nanoseconds = () => end() * 1e6;
return end;
}
export {
timeSpanBr
};