{"_id":"errx","_rev":"3825258","name":"errx","description":"Zero dependency library to capture and parse stack traces in Node, Bun and Deno","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"danielroe","email":"daniel@concision.co.uk"}],"time":{"modified":"2025-08-26T22:17:34.000Z","created":"2024-07-04T07:38:19.910Z","0.1.0":"2024-07-04T15:38:59.890Z","0.0.1":"2024-07-04T10:46:18.733Z","0.0.0":"2024-07-04T07:38:19.910Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/danielroe/errx.git"},"versions":{"0.1.0":{"name":"errx","type":"module","version":"0.1.0","description":"Zero dependency library to capture and parse stack traces in Node, Bun and Deno","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danielroe/errx.git"},"sideEffects":false,"exports":{".":"./dist/index.js"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"latest","@types/node":"^20.14.9","@vitest/coverage-v8":"latest","bumpp":"latest","eslint":"latest","lint-staged":"latest","simple-git-hooks":"latest","typescript":"latest","unbuild":"latest","vite":"latest","vitest":"latest"},"resolutions":{"errx":"link:."},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"lint-staged":{"*.{js,ts,mjs,cjs,json,.*rc}":["pnpm eslint --fix"]},"scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint . --fix","release":"bumpp && pnpm publish","test":"pnpm test:unit && pnpm test:types","test:unit":"vitest","test:types":"tsc --noEmit"},"bugs":{"url":"https://github.com/danielroe/errx/issues"},"homepage":"https://github.com/danielroe/errx#readme","_id":"errx@0.1.0","_integrity":"sha512-fZmsRiDNv07K6s2KkKFTiD2aIvECa7++PKyD5NC32tpRw46qZA3sOz+aM+/V9V0GDHxVTKLziveV4JhzBHDp9Q==","_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/cf6f7a3e83fd1aab233d1a115033ef9a/errx-0.1.0.tgz","_from":"file:errx-0.1.0.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"4881e411d90a3b1e1620a07604f50081dd59f3aa","size":2540,"noattachment":false,"key":"/errx/-/errx-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/errx/download/errx-0.1.0.tgz"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"maintainers":[{"name":"danielroe","email":"daniel@concision.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/errx_0.1.0_1720107539733_0.5974847248923456"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-04T15:38:59.890Z","publish_time":1720107539890,"_source_registry_name":"default","_cnpm_publish_time":1720107539890},"0.0.1":{"name":"errx","type":"module","version":"0.0.1","description":"Zero dependency library to capture and parse stack traces in Node, Bun and Deno","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danielroe/errx.git"},"sideEffects":false,"exports":{".":"./dist/index.js"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","devDependencies":{"@antfu/eslint-config":"latest","@types/node":"^20.14.9","@vitest/coverage-v8":"latest","bumpp":"latest","eslint":"latest","lint-staged":"latest","simple-git-hooks":"latest","typescript":"latest","unbuild":"latest","vite":"latest","vitest":"latest"},"resolutions":{"errx":"link:."},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"lint-staged":{"*.{js,ts,mjs,cjs,json,.*rc}":["pnpm eslint --fix"]},"scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint . --fix","release":"bumpp && pnpm publish","test":"pnpm test:unit && pnpm test:types","test:unit":"vitest","test:types":"tsc --noEmit"},"bugs":{"url":"https://github.com/danielroe/errx/issues"},"homepage":"https://github.com/danielroe/errx#readme","_id":"errx@0.0.1","_integrity":"sha512-+N51mdQD3KaPZwwmQ3u7/Rce8rj/nuhIFH8JLLDvChjZdxRARDfZtq5FpbvtLSqYE9/yC0mTWBD8OxC/lEoZ2g==","_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/a2c65c658877705e6749179e6d94ce69/errx-0.0.1.tgz","_from":"file:errx-0.0.1.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"d63f52aa126323a8bb5b6451f1f199077c156c18","size":2536,"noattachment":false,"key":"/errx/-/errx-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/errx/download/errx-0.0.1.tgz"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"maintainers":[{"name":"danielroe","email":"daniel@concision.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/errx_0.0.1_1720089978597_0.48889679918341744"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-04T10:46:18.733Z","publish_time":1720089978733,"_source_registry_name":"default","_cnpm_publish_time":1720089978733},"0.0.0":{"name":"errx","version":"0.0.0","author":{"name":"Daniel Roe","email":"daniel@roe.dev"},"_id":"errx@0.0.0","gitHead":"eec652aff74c829d71c96637b31731ecee01dc82","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"shasum":"8b2a6bd224984080abad0fa3666f742b02b5525f","size":214,"noattachment":false,"key":"/errx/-/errx-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/errx/download/errx-0.0.0.tgz"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"maintainers":[{"name":"danielroe","email":"daniel@concision.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/errx_0.0.0_1720078699695_0.0022717319126837054"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-04T07:38:19.910Z","publish_time":1720078699910,"_source_registry_name":"default","_cnpm_publish_time":1720078699910}},"readme":"# errx\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n> Zero dependency library to capture and parse stack traces in Node, Bun, Deno and more.\n\n## Usage\n\nInstall package:\n\n```sh\n# npm\nnpm install errx\n\n# pnpm\npnpm install errx\n```\n\n```js\nimport { captureRawStackTrace, captureStackTrace, parseRawStackTrace } from 'errx'\n\n// returns raw string stack trace\ncaptureRawStackTrace()\n// returns parsed stack trace\ncaptureStackTrace()\n\nconsole.log(captureStackTrace())\n// [{\n//   function: undefined,\n//   source: 'file:///code/danielroe/errx/playground/index.js',\n//   line: '5',\n//   column: '13'\n// }]\n```\n\n## ???? Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nMade with ❤️\n\nPublished under [MIT License](./LICENCE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/errx?style=flat-square\n[npm-version-href]: https://npmjs.com/package/errx\n[npm-downloads-src]: https://img.shields.io/npm/dm/errx?style=flat-square\n[npm-downloads-href]: https://npmjs.com/package/errx\n[github-actions-src]: https://img.shields.io/github/workflow/status/danielroe/errx/ci/main?style=flat-square\n[github-actions-href]: https://github.com/danielroe/errx/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/errx/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/danielroe/errx\n","_attachments":{},"homepage":"https://github.com/danielroe/errx#readme","bugs":{"url":"https://github.com/danielroe/errx/issues"},"license":"MIT"}