Skip to content

pd4d10/binkit

Repository files navigation

BinKit — The Binary Toolkit

BinKit packages precompiled native CLI tools for Node.js. Install a tool, and the correct binary for your platform loads automatically.

Quick Start

npm install @binkit/android-platform-tools
import { execSync } from "child_process";
import { adb } from "@binkit/android-platform-tools";

// BinaryRunner provides binaryPath, spawn, and spawnSync
adb.spawn(["devices"]);
adb.spawnSync(["--version"]);

// For shell features (pipes, etc.), use binaryPath with exec/execSync
execSync(`${adb.binaryPath} devices | grep device`);

Available Tools

Package Version
android-platform-tools npm
ffmpeg npm

Features

  • Zero config: Platform detection is automatic
  • Type-safe: Full TypeScript support
  • Modular: Only downloads binaries for your platform via optionalDependencies
  • Pure ESM: Modern module format

Documentation

License

MIT

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors