# @hap-toolkit/aaptjs

> A node wraper for aapt

Latest version **2.0.0** (published 2020-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hap-toolkit/aaptjs
pnpm add @hap-toolkit/aaptjs
yarn add @hap-toolkit/aaptjs
bun add @hap-toolkit/aaptjs
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-04-28 |
| First published | 2020-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | damon_chen, diydyq, evilemon, tech_bro_in_vivo |
| Keywords | aapt, nodejs |

## Links

- npm: https://www.npmjs.com/package/@hap-toolkit/aaptjs
- npm.io page: https://npm.io/package/@hap-toolkit/aaptjs

## Recent versions

- 2.0.0 (latest) — 2020-04-28
- 1.0.0 — 2020-03-17

## README

# 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 
  }

```

---
_Source: https://npm.io/package/@hap-toolkit/aaptjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
