1 line
7.5 KiB
Plaintext
1 line
7.5 KiB
Plaintext
{"_id":"errx","_rev":"2-d26c98f5609cf4b9eaba9cd63f172f03","name":"errx","description":"Zero dependency library to capture and parse stack traces in Node, Bun and Deno","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"errx","version":"0.0.0","author":{"name":"Daniel Roe","email":"daniel@roe.dev"},"_id":"errx@0.0.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"dist":{"shasum":"8b2a6bd224984080abad0fa3666f742b02b5525f","tarball":"https://registry.npmjs.org/errx/-/errx-0.0.0.tgz","fileCount":2,"integrity":"sha512-1XpV9IY1RI1G/2EaGW30gPaFBdU8Tt2iZmB3HaHmpN5x8N+bR8Nawc5lMQkpjrF3NMGq7RNopttZNGVhVu8mMw==","signatures":[{"sig":"MEUCIHfDELPL81mYBm/5GE7hP8+HJ+OGTR0EyIoo1Q5lXC5jAiEAzhn3oHNld47auL64raBhEyjHSpTmvgRCLwmO62rr/V0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114},"gitHead":"eec652aff74c829d71c96637b31731ecee01dc82","_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_npmVersion":"10.7.0","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/errx_0.0.0_1720078699695_0.0022717319126837054","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"errx","version":"0.0.1","license":"MIT","_id":"errx@0.0.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/errx#readme","bugs":{"url":"https://github.com/danielroe/errx/issues"},"dist":{"shasum":"d63f52aa126323a8bb5b6451f1f199077c156c18","tarball":"https://registry.npmjs.org/errx/-/errx-0.0.1.tgz","fileCount":5,"integrity":"sha512-+N51mdQD3KaPZwwmQ3u7/Rce8rj/nuhIFH8JLLDvChjZdxRARDfZtq5FpbvtLSqYE9/yC0mTWBD8OxC/lEoZ2g==","signatures":[{"sig":"MEUCIDQ4SyprcF43rAd0nGyw3qKU2i4TzYsNPkOwf6dU+TJSAiEAgS03A1kNif8cp22z3hxZZhyyRplDvXWCA7EM1Q/ANbU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5592},"main":"./dist/index.js","type":"module","_from":"file:errx-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":"./dist/index.js"},"scripts":{"dev":"vitest dev","lint":"eslint . --fix","test":"pnpm test:unit && pnpm test:types","build":"unbuild","release":"bumpp && pnpm publish","test:unit":"vitest","test:types":"tsc --noEmit"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/a2c65c658877705e6749179e6d94ce69/errx-0.0.1.tgz","_integrity":"sha512-+N51mdQD3KaPZwwmQ3u7/Rce8rj/nuhIFH8JLLDvChjZdxRARDfZtq5FpbvtLSqYE9/yC0mTWBD8OxC/lEoZ2g==","repository":{"url":"git+https://github.com/danielroe/errx.git","type":"git"},"_npmVersion":"10.2.3","description":"Zero dependency library to capture and parse stack traces in Node, Bun and Deno","directories":{},"lint-staged":{"*.{js,ts,mjs,cjs,json,.*rc}":["pnpm eslint --fix"]},"resolutions":{"errx":"link:."},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"vite":"latest","bumpp":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","typescript":"latest","@types/node":"^20.14.9","lint-staged":"latest","simple-git-hooks":"latest","@vitest/coverage-v8":"latest","@antfu/eslint-config":"latest"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/errx_0.0.1_1720089978597_0.48889679918341744","host":"s3://npm-registry-packages"}},"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":{"integrity":"sha512-fZmsRiDNv07K6s2KkKFTiD2aIvECa7++PKyD5NC32tpRw46qZA3sOz+aM+/V9V0GDHxVTKLziveV4JhzBHDp9Q==","shasum":"4881e411d90a3b1e1620a07604f50081dd59f3aa","tarball":"https://registry.npmjs.org/errx/-/errx-0.1.0.tgz","fileCount":5,"unpackedSize":5610,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSid7IY7Xwq2ZRKa+jD6O94sbMH1EajAsKPiJdO1cEvgIgYuz+OzRMEdcF+o23XogkjjAMlEEA5gb99GHOWuAaYho="}]},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/errx_0.1.0_1720107539733_0.5974847248923456"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-04T07:38:19.555Z","modified":"2024-07-04T15:39:00.053Z","0.0.0":"2024-07-04T07:38:19.910Z","0.0.1":"2024-07-04T10:46:18.733Z","0.1.0":"2024-07-04T15:38:59.890Z"},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"repository":{"type":"git","url":"git+https://github.com/danielroe/errx.git"},"license":"MIT","homepage":"https://github.com/danielroe/errx#readme","bugs":{"url":"https://github.com/danielroe/errx/issues"},"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","readmeFilename":"README.md"} |