aaptjs2
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

aaptjs2

Android Asset Packaging Tool(aapt) for Node.js

Install

With npm do:

npm install aaptjs2 --save

Example

const aapt = require('aaptjs2');
 
aapt.list('/path/to/your/ExampleApp.apk')
  .then (data => {
    console.log(data)
  })
  .catch (err) {
    // something went wrong 
  }

API

  • aapt(args)
  • listlist(apkFilePath)
  • dump(apkFilePath, values)
  • packageCmd(apkFilePath, command)
  • remove(apkFilePath, files)
  • add(apkFilePath, files)
  • crunch(resource, outputFolder)
  • singleCrunch(inputFile, outputFile)
  • version()
  • getApkInfo(apkFilePath)
  • getApkAndIcon(apkFilePath, outIconName, outIconPath)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    31
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    31
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i aaptjs2

Weekly Downloads

31

Version

1.0.4

License

MIT

Unpacked Size

6.77 MB

Total Files

9

Last publish

Collaborators

  • htax013