{"id":8861361,"url":"https://github.com/marvinhagemeister/errorstacks","last_synced_at":"2025-04-04T08:06:43.527Z","repository":{"id":42837285,"uuid":"252831163","full_name":"marvinhagemeister/errorstacks","owner":"marvinhagemeister","description":"Tiny library to parse error stack traces","archived":false,"fork":false,"pushed_at":"2023-11-08T23:04:27.000Z","size":142,"stargazers_count":105,"open_issues_count":7,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T07:04:48.055Z","etag":null,"topics":["error","parser","parsing","stacktracke"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marvinhagemeister.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-03T20:13:26.000Z","updated_at":"2025-03-10T01:58:54.000Z","dependencies_parsed_at":"2022-08-27T02:47:31.158Z","dependency_job_id":"66a0b4d5-fdea-4e0f-ae3a-58be66ff1124","html_url":"https://github.com/marvinhagemeister/errorstacks","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":0.06382978723404253,"last_synced_commit":"e2df682e48def6bdc19e06acd3e7dd864044a4f1"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinhagemeister%2Ferrorstacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinhagemeister%2Ferrorstacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinhagemeister%2Ferrorstacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinhagemeister%2Ferrorstacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marvinhagemeister","download_url":"https://codeload.github.com/marvinhagemeister/errorstacks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142032,"owners_count":20890651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["error","parser","parsing","stacktracke"],"created_at":"2024-04-30T22:22:43.851Z","updated_at":"2025-04-04T08:06:43.490Z","avatar_url":"https://github.com/marvinhagemeister.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# errorstacks\n\nSimple parser for Error stack traces.\n\nCurrently supported browsers/platforms:\n\n- Firefox\n- Chrome\n- Edge\n- Node\n\n## Usage\n\nInstall `errorstacks` via your package manager of choice. Here we'll use `npm`.\n\n```bash\nnpm install errorstacks\n```\n\nExample code:\n\n```js\nimport { parseStackTrace } from 'errorstacks';\n\nfunction foo() {\n  throw new Error('fail');\n}\n\ntry {\n  foo();\n} catch (err) {\n  const parsed = parseStackTrace(err.stack);\n  console.log(parsed);\n  // Logs:\n  // [\n  //   {\n  //     line: 4,\n  //     column: 8,\n  //     type: '',\n  //     name: 'foo',\n  //     raw: '    at foo (/my-project/foo.ts:4:8)'\n  //   },\n  // ]\n```\n\n_Note: `type` will be the string `\"native\"` if native code execution was detected._\n\n## License\n\nMIT, see [the license file](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinhagemeister%2Ferrorstacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarvinhagemeister%2Ferrorstacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinhagemeister%2Ferrorstacks/lists"}