Muqriz 48f16bfc3e initail first | 4 ay önce | |
---|---|---|
.. | ||
README.md | 4 ay önce | |
cli.js | 4 ay önce | |
index.d.ts | 4 ay önce | |
index.js | 4 ay önce | |
package.json | 4 ay önce | |
test.js | 4 ay önce |
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