1.0.11 • Published 3 years ago

pe-parser v1.0.11

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

pe-parser build

PE Parser for Node.JS applications

Validation example

// The Validate promise throws if the PE file is invalid
try {
  const { architecture } = await Validate(file); // returns either 'x64' or 'x86'

  console.log(architecture);
} catch (e) {
  console.error(e);
}

Parsing example

// The parse function does not throw any errors as it assumes that the buffer is validated

const { dos_header, nt_headers, sections } = await Parse(file);

console.log(dos_header, nt_headers, sections);
1.0.9

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago