
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@netlify/binary-info
Advanced tools
binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
@netlify/binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
It's used by other Netlify projects to detect Go and Rust binaries built for Netlify Functions and its architecture and platform .
import { readFile } = require("fs");
import { detect, Runtime }from "@netlify/binary-info";
const buffer = await readFile(path);
try {
const info = elf.detect(buffer);
switch (info.runtime) {
case Runtime.Go: console.log("Go binary file"); break;
case Runtime.Rust: console.log("Rust binary file"); break;
default: console.log("Unknown binary file");
}
} catch (error) {
console.log(error);
}
wasm-pack buildwasm-pack build --target nodejs --release --scope=netlify
1.0.0 (2022-06-23)
arch, platform, runtime. Runtime is nullable as we can only detect it for ELF binaries for now. If platform or arch cannot be detected it will throw.FAQs
binary-info is a WebAssembly(WASM) module to extract very specific information from binary files.
The npm package @netlify/binary-info receives a total of 403,442 weekly downloads. As such, @netlify/binary-info popularity was classified as popular.
We found that @netlify/binary-info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.