Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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