Socket
Socket
Sign inDemoInstall

read-binary-file-arch

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-binary-file-arch

Reads a binary file to determine its CPU architecture.


Version published
Weekly downloads
137K
increased by7.61%
Maintainers
1
Weekly downloads
 
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

FAQs

Package last updated on 04 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc