@sliit-foss/timekeeper

0.0.0 • Public • Published

@sliit-foss/timekeeper

CLI tool for automated function tracing. More information can be found here at the official website.



Installation

# using npm
npm install -g @sliit-foss/timekeeper

# using yarn
yarn global add @sliit-foss/timekeeper

Usage

script.js

const sum = (a, b) => {
  return a + b;
};

console.log(sum(4, 5));

execute

timekeeper script.js

output

{"correlationId": "34fedb32f80e6ac4cd329a948e5ac2cc", "level": "info", "message": "[tracer] - sum execution initiated", "timestamp": "2023-05-25T04:25:52.180Z"}
{"correlationId": "34fedb32f80e6ac4cd329a948e5ac2cc", "level": "info", "message": "[tracer] - sum execution completed - execution_time : 0.05579999997280538ms", "timestamp": "2023-05-25T04:25:52.180Z"}
9

Package Sidebar

Install

npm i @sliit-foss/timekeeper

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

9.28 kB

Total Files

7

Last publish

Collaborators

  • sliit.foss