@hap-toolkit/aaptjs
v2.0.0
Published
A node wraper for aapt
Downloads
2,873
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
}