An open API service indexing awesome lists of open source software.

https://github.com/shenzhim/aaptjs

A node wraper for aapt
https://github.com/shenzhim/aaptjs

aapt nodejs

Last synced: 11 months ago
JSON representation

A node wraper for aapt

Awesome Lists containing this project

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
}

```