aaptjs
v1.3.2
Published
A node wraper for aapt
Downloads
4,700
Readme
aaptjs
A node wraper for aapt
Install
With npm do:
npm install aaptjs --save
Example
Using a callback:
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:
const aaptjs = require('aaptjs');
aaptjs.list('/path/to/your/ExampleApp.apk')
.then (data => {
console.log(data)
})
.catch (err) {
// something went wrong
}