Muqriz 48f16bfc3e initail first | 4 months ago | |
---|---|---|
.. | ||
README.md | 4 months ago | |
cli.js | 4 months ago | |
index.d.ts | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago | |
test.js | 4 months ago |
A node module that reads the CPU architecture of a binary file.
npm install read-binary-file-arch
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);
});
MIT