You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Muqriz 48f16bfc3e initail first hace 4 meses
..
README.md initail first hace 4 meses
cli.js initail first hace 4 meses
index.d.ts initail first hace 4 meses
index.js initail first hace 4 meses
package.json initail first hace 4 meses
test.js initail first hace 4 meses

README.md

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