Socket
Book a DemoInstallSign in
Socket

@exodus/read-binary-file-arch

Package Overview
Dependencies
Maintainers
105
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/read-binary-file-arch

Reads a binary file to determine its CPU architecture.

latest
Source
npmnpm
Version
1.0.6-exodus
Version published
Maintainers
105
Created
Source

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

Keywords

binary

FAQs

Package last updated on 03 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts