read-binary-file-arch
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

read-binary-file-arch

A node module that reads the CPU architecture of a binary file.

npm install read-binary-file-arch

Usage

Pass a file path to readBinaryFileArch.

[!NOTE]
Windows only supports valid PE binary files.

var { readBinaryFileArch } = require('read-binary-file-arch');

readBinaryFileArch(filePath).then((arch) => {
  console.log('arch: ', arch);
}).catch((error) => {
  console.error(error.message);
});

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i read-binary-file-arch

Weekly Downloads

66,025

Version

1.0.6

License

MIT

Unpacked Size

6.62 kB

Total Files

7

Last publish

Collaborators

  • samuelmaddock