Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stendahls/arsc-parse

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@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.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

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' ) );
} )();

FAQs

Package last updated on 15 Jul 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc