npm.io
1.1.7 • Published 4 years ago

bundletool

Licence
AGPL-3.0-or-later
Version
1.1.7
Deps
3
Size
49 kB
Vulns
23
Weekly
0
Stars
4
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

Bundletool

A very simplistic wrapper around bundletool.

Requirements

You must have java JDK 8+ on your machine NodeJS 12.18.0 (lower might versions work but unsupported)

Installation

npm install bundletool or yarn add bundletool

Usage
import bundletool from "bundletool" // or the require equivalent

await bundletool([command], [args]); // async / await

bundletool([command], [args])
  .then(response => /* do something */)
  .catch(err => /* handle err */ );
API

async bundletool(command, [args])

Parameter Description Required Type
command Any command available on bundletool true string
args all arguments required for the previous command false string[]

Check the docs for more information on the commands and args available

Contribution

Always welcome. Check the guidelines and the TODO

By using this module you agree to this module's license and google's terms and conditions, which you can find in NOTICE.txt under the platform tools installation

Buy Me A Coffee

Keywords