1.1.13 • Published 1 year ago

apk-manifest-parser v1.1.13

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Manifest Parser

This is a TypeScript project that extracts the packageName, versionCode, and versionName from an Android APK file by retrieving the AndroidManifest.xml file. This project can be used by both client side and node.

Installation and Setup

To install, follow these steps:

  • Run npm i apk-manifest-parser where you wish to install the package
  • Import the package where you require it's use import ManifestParser from 'apk-manifest-parser';
  • Call the extractApkManifest function passing in the apk file - this returns a promise so will need to follow up with a .then() which returns an object ManifestPackageDetails or the error handler object ApkParseError.

ALternative options

  • If you wish to extract information other than the 3 currently supported, pass in an array of the names you wish to retrieve (i.e. ['packageName', 'customValue']), these results will be returned in the altOptions array.

Contributing

If you would like to contribute to this project, feel free to create a pull request.

License

This project is licensed under the MIT License.

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago