Manifest Parsing
Parse AndroidManifest.xml to extract package info, version, permissions, and more from binary XML format.
A modern, type-safe library to parse Android application manifests, resources, and signatures
npm install node-apkimport { Apk } from "node-apk";
const apk = new Apk("app.apk");
// Get app information
const manifest = await apk.getManifestInfo();
console.log(`Package: ${manifest.package}`);
console.log(`Version: ${manifest.versionName}`);
// Get localized app name
const label = await apk.getLabel();
console.log(`App Name: ${label}`);
// Extract launcher icon
const icon = await apk.getLauncherIcon();
// Get signing certificates
const certs = await apk.getCertificateInfo();
console.log(`Signed by: ${certs[0].subject.get("CN")}`);Built from the ground up with modern JavaScript:
Everything you need to work with APK files:
Battle-tested and reliable:
If you find this library useful, please consider sponsoring the project.