New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-aab-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-aab-parser

A parser to get manifests of .aab files

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
192
16.36%
Maintainers
1
Weekly downloads
 
Created
Source

node-aab-parser

A parser for aab manifests, inspired by node-apk-parser

Requirements

You must have java JDK 8+ on your machine NodeJS 12.18.0 (lower might versions work but unsupported)

Installation

npm install node-aab-parser or yarn add node-aab-parser

Usage

import { readManifest } from "node-aab-parser"; // or the require equivalent

await readManifest(filePath); // async / await

readManifest(filePath)
  .then(response => /* do something */);
  .catch(err => /* handle err */ ) // promise based

API

async aabParser(filePath): Response

ParameterDescriptionRequiredType
filePathAbsolute path of the file you want to parsetruestring

Response object:

AttributeDescriptionType
compiledSdkVersionsdk version this was compiled to (api level on android studio )number
compiledSdkVersionCodenamecommonly known android versionnumber
minSdkVersionminimum android version that runs the appnumber
targetSdkVersiontarget android version for the appnumber
versionCodeversion numbernumber
versionNameversion namestring
packageNamepackage name of your appstring
permissionspermissions your app hasstring[]

Contribution

It's still very barebones so any contribution is more than welcome.

Check the guidelines and the TODO

Buy Me A Coffee

Keywords

aab

FAQs

Package last updated on 15 Sep 2022

Did you know?

Socket

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.

Install

Related posts