{"id":17398479,"url":"https://github.com/vweevers/pe-machine-type-descriptor","last_synced_at":"2025-03-29T20:15:37.086Z","repository":{"id":55828239,"uuid":"76900192","full_name":"vweevers/pe-machine-type-descriptor","owner":"vweevers","description":"Get name and description of PE machine types","archived":false,"fork":false,"pushed_at":"2020-12-11T17:49:51.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T21:39:07.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/vweevers.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":"2016-12-19T21:52:03.000Z","updated_at":"2020-11-24T18:31:11.000Z","dependencies_parsed_at":"2022-08-15T07:31:18.112Z","dependency_job_id":null,"html_url":"https://github.com/vweevers/pe-machine-type-descriptor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fpe-machine-type-descriptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fpe-machine-type-descriptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fpe-machine-type-descriptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fpe-machine-type-descriptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vweevers","download_url":"https://codeload.github.com/vweevers/pe-machine-type-descriptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237436,"owners_count":20745348,"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":[],"created_at":"2024-10-16T14:57:13.939Z","updated_at":"2025-03-29T20:15:37.064Z","avatar_url":"https://github.com/vweevers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pe-machine-type-descriptor\n\n**Get name and description of [PE](https://en.wikipedia.org/wiki/Portable_Executable) machine types. As specified by [Microsoft PE and COFF Specification 9.3](https://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/pecoff_v83.docx) \u003csup\u003e[doc]\u003c/sup\u003e, section 3.1.1.**\n\n[![npm status](http://img.shields.io/npm/v/pe-machine-type-descriptor.svg?style=flat-square)](https://www.npmjs.org/package/pe-machine-type-descriptor) [![node](https://img.shields.io/node/v/pe-machine-type-descriptor.svg?style=flat-square)](https://www.npmjs.org/package/pe-machine-type-descriptor) [![Travis build status](https://img.shields.io/travis/vweevers/pe-machine-type-descriptor.svg?style=flat-square\u0026label=travis)](http://travis-ci.org/vweevers/pe-machine-type-descriptor) [![AppVeyor build status](https://img.shields.io/appveyor/ci/vweevers/pe-machine-type-descriptor.svg?style=flat-square\u0026label=appveyor)](https://ci.appveyor.com/project/vweevers/pe-machine-type-descriptor) [![Dependency status](https://img.shields.io/david/vweevers/pe-machine-type-descriptor.svg?style=flat-square)](https://david-dm.org/vweevers/pe-machine-type-descriptor)\n\n## example\n\n```js\nconst mt = require('pe-machine-type-descriptor')\n\nconsole.log(mt(0x8664).type) // 'amd64'\nconsole.log(mt(0x8664).description) // 'x64'\n\nconsole.log(mt(0x1c4).type) // 'armnt'\nconsole.log(mt(0x1c4).description) // 'ARM Thumb-2 little endian'\n```\n\n## related\n\n- [pe-signature](https://github.com/vweevers/pe-signature)\n- [pe-signature-offset](https://github.com/vweevers/pe-signature-offset)\n\n## install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install pe-machine-type-descriptor\n```\n\n## license\n\n[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvweevers%2Fpe-machine-type-descriptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvweevers%2Fpe-machine-type-descriptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvweevers%2Fpe-machine-type-descriptor/lists"}