{"id":26145005,"url":"https://github.com/qucumbah/aab-parser","last_synced_at":"2026-05-04T17:33:59.955Z","repository":{"id":43394829,"uuid":"397878034","full_name":"qucumbah/aab-parser","owner":"qucumbah","description":"Parser for Android app bundles","archived":false,"fork":false,"pushed_at":"2022-03-05T06:02:08.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T00:19:15.007Z","etag":null,"topics":["aab","android","npm","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/aab-parser","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qucumbah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-19T08:53:09.000Z","updated_at":"2024-01-05T10:33:41.000Z","dependencies_parsed_at":"2022-09-05T19:41:05.787Z","dependency_job_id":null,"html_url":"https://github.com/qucumbah/aab-parser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qucumbah%2Faab-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qucumbah%2Faab-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qucumbah%2Faab-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qucumbah%2Faab-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qucumbah","download_url":"https://codeload.github.com/qucumbah/aab-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242969275,"owners_count":20214617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aab","android","npm","typescript"],"created_at":"2025-03-11T04:25:21.828Z","updated_at":"2025-12-06T17:00:52.305Z","avatar_url":"https://github.com/qucumbah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aab-parser\n\n[![Build and Publish](https://github.com/qucumbah/aab-parser/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/qucumbah/aab-parser/actions/workflows/npm-publish.yml)\n[![npm version](https://img.shields.io/npm/v/aab-parser)](https://www.npmjs.com/package/aab-parser)\n[![npm downloads](https://img.shields.io/npm/dw/aab-parser)](https://www.npmjs.com/package/aab-parser)\n\nA lightweight Android app bundle parser written in Typescript with asynchronous interface. Works on pure Node JS, doesn't require additional installation of JDK.\n\n## API\n\n### `Manifest` type\n\nThis interface represents a subset of AAB attributes.\nOnly these fields are represented:\n| Attribute | Description | Type |\n| --- | --- | --- |\n| versionCode | A positive integer used as an internal version number | number |\n| versionName | A string used as the version number shown to users | string |\n| packageName | A unique application ID, such as com.example.myapp | string |\n| compiledSdkVersion | Which Android SDK version was used to compile the app | number |\n| compiledSdkVersionCodename | Target Android version | number |\n\n### `parseAabManifest` function\n\nThis function accepts either a path to the aab, or a buffer with app bundle content.\n\nAsynchronously parses the app bundle manifest and returns it as an instance of `Manifest`.\n\n### `parseAabManifestJSON` function\n\nThis function accepts either a path to the aab, or a buffer with app bundle content.\n\nAsynchronously parses the app bundle manifest and returns it a plain JSON object. This object contains more fields compared to an instance of `Manifest`, but it's not typed.\n\n## Usage example\n\n```ts\nconst aabParser = require('aab-parser');\n\nconst manifest: aabParser.Manifest = await aabParser.parseAabManifest('./bundle.aab');\n\nconsole.log(manifest);\n```\n\nResult:\n```\n{\n  versionCode: 3830,\n  versionName: '1.0.0',\n  packageName: 'com.abtt.testandroidapp',\n  compiledSdkVersion: 29,\n  compiledSdkVersionCodename: 10\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqucumbah%2Faab-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqucumbah%2Faab-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqucumbah%2Faab-parser/lists"}