{"id":23327793,"url":"https://github.com/jirsh/pe-parser","last_synced_at":"2025-08-22T21:32:12.156Z","repository":{"id":40384719,"uuid":"487397334","full_name":"jirsh/pe-parser","owner":"jirsh","description":"Promise based PE Parser for Node.JS applications","archived":false,"fork":false,"pushed_at":"2022-09-24T20:28:49.000Z","size":149,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T02:32:26.940Z","etag":null,"topics":["nodejs","portable-executable","windows"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pe-parser","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jirsh.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}},"created_at":"2022-04-30T22:48:50.000Z","updated_at":"2024-12-11T07:11:43.000Z","dependencies_parsed_at":"2023-01-17T19:00:14.751Z","dependency_job_id":null,"html_url":"https://github.com/jirsh/pe-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jirsh/pe-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirsh%2Fpe-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirsh%2Fpe-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirsh%2Fpe-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirsh%2Fpe-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirsh","download_url":"https://codeload.github.com/jirsh/pe-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirsh%2Fpe-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271703784,"owners_count":24806527,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nodejs","portable-executable","windows"],"created_at":"2024-12-20T20:23:51.999Z","updated_at":"2025-08-22T21:32:11.491Z","avatar_url":"https://github.com/jirsh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pe-parser [![build](https://github.com/jirsh/pe-parser/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/jirsh/pe-parser/actions/workflows/npm-publish.yml)\n\nPE Parser for Node.JS applications\n\n### Validation example\n\n```js\n// The Validate promise throws if the PE file is invalid\ntry {\n  const { architecture } = await Validate(file); // returns either 'x64' or 'x86'\n\n  console.log(architecture);\n} catch (e) {\n  console.error(e);\n}\n```\n\n### Parsing example\n\n```js\n// The parse function does not throw any errors as it assumes that the buffer is validated\n\nconst { dos_header, nt_headers, sections } = await Parse(file);\n\nconsole.log(dos_header, nt_headers, sections);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirsh%2Fpe-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirsh%2Fpe-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirsh%2Fpe-parser/lists"}