open-index/open-npm huggingface dataset:
npm package: @hap-toolkit/aaptjs
Description: A node wraper for aapt
Latest version: 2.0.0

# aaptjs

A node wraper for aapt

# Install

With [npm](https://npmjs.org/package/node-aapt) do:

```
npm install aaptjs --save
```

## Example
Using a callback:
```js
const aaptjs = require('aaptjs');

aaptjs.list('/path/to/your/ExampleApp.apk', (err, data) => {
  if (err) {
    // something went wrong 
  } else {
    console.log(data);
  }
});
```

Using a promise:

```js
const aaptjs = require('aaptjs');

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

```