macho-ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

macho-ts

This is a rewrite of Fedor Indutny's macho nodejs library in TypeScript.

Simple and incomplete Mach-O binary format parser.

Usage

const data = fs.readFileSync(process.execPath);
const exec = macho.parse(data);
console.log(exec.filetype);

See test/ for more details

LICENSE

This software is licensed under the MIT License.

Copyright pancake, 2023 Copyright Fedor Indutny, 2014-2016.

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i macho-ts

    Weekly Downloads

    12

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    152 kB

    Total Files

    22

    Last publish

    Collaborators

    • pancake
    • hsorbo