{"library":"callsites","type":"library","category":null,"description":"Callsites is a low-level utility that retrieves an array of V8 CallSite objects from the current JavaScript stack trace. It provides direct access to the V8 stack trace API, allowing developers to inspect intricate details of each call in the stack, such as file names, line numbers, column numbers, function names, and execution context. This package is currently stable at version 4.2.0 and maintains an active release cadence, with recent updates adding Bun support and refining TypeScript definitions. It is a pure ESM package since v4.0.0, making it suitable for modern Node.js environments. Its primary differentiator is providing raw, unopinionated access to V8's callsite information, empowering advanced debugging, logging, and error reporting scenarios.","language":"javascript","status":"active","version":"4.2.0","tags":["javascript","stacktrace","v8","callsite","callsites","stack","trace","function","file","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install callsites","imports":["import callsites from 'callsites';","import type { CallSite } from 'callsites';","async function myAsyncFunc() {\n  const stack = callsites();\n  const asyncCallsite = stack.find(c => c.isAsync());\n  // ...\n}"]},{"cmd":"yarn add callsites","imports":[]},{"cmd":"pnpm add callsites","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/callsites","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/callsites","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/callsites/compatibility"}}