# bundletool

> An unoficial wrapper around google's bundletool

Latest version **1.1.7** (published 2022-09-15) · AGPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install bundletool
pnpm add bundletool
yarn add bundletool
bun add bundletool
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2022-09-15 |
| First published | 2020-06-11 |
| Weekly downloads | 0 |
| License | AGPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 48.6 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 4 |
| Author | Tiago Ribeiro |
| Maintainers | ribeiro-tiago |
| Keywords | bundletool, android, google |

## Links

- npm: https://www.npmjs.com/package/bundletool
- Repository: https://github.com/Ribeiro-Tiago/bundletool
- npm.io page: https://npm.io/package/bundletool

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [mkdirp](https://npm.io/package/mkdirp.md) ^1.0.4
- [command-exists](https://npm.io/package/command-exists.md) ^1.2.9

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.7 (latest) — 2022-09-15
- 1.1.6 — 2022-09-15
- 1.1.5 — 2021-11-17
- 1.1.4 — 2021-10-13
- 1.1.3 — 2021-02-08
- 1.1.1 — 2020-07-13
- 1.1.0 — 2020-06-14
- 1.0.3 — 2020-06-11
- 1.0.2 — 2020-06-11
- 1.0.1 — 2020-06-11
- 1.0.0 — 2020-06-11

## README

# Bundletool

A very simplistic wrapper around [bundletool](https://developer.android.com/studio/command-line/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](https://developer.android.com/studio/command-line/bundletool) for more information on the commands and args available

### Contribution

Always welcome. Check the [guidelines](https://github.com/Ribeiro-Tiago/bundletool/master/CONTRIBUTION) and the [TODO](https://github.com/Ribeiro-Tiago/bundletool/master/TODO.md)

### Legal notice

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

# 
<a href="https://www.buymeacoffee.com/ribeirotiago" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-violet.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>

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