@stendahls/arsc-parse
Simple wrapper around [aapt2](https://developer.android.com/studio/command-line/aapt2) to get information from a Resources.arsc in an apk.
Last updated 5 months ago by kokarn .
ISC · Original npm · Tarball · package.json
$ cnpm install @stendahls/arsc-parse 
SYNC missed versions from official npm registry.

ARSC parse

npm

This is just a wrapper around aapt2 to get information from a Resources.arsc in an apk.

It will download the latest version for your platform and store that in a binaries folder locally.

Requirements

  • Java

Since this module downloads the official jar, unpacks it and runs it, we need java.

Installation

npm i @stendahls/arsc-parse

Usage

const path = require( 'path' );

const arscParse = require( '@stendahls/arsc-parse' );

( async () => {
    let resources;

    try {
        resources = await arscParse.parse( path.join( __dirname, 'test1.apk' ) );
        console.log( resources );
    } catch ( parseError ) {
        console.error( parseError );
    }

    console.log( arscParse.getResourceByName( resources, 'string/app_name' ) );
} )();

Current Tags

  • 1.0.1                                ...           latest (5 months ago)

2 Versions

  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 4
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |