# android-res

> Android resource resizing tool

Latest version **0.0.3** (published 2015-06-04) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install android-res
pnpm add android-res
yarn add android-res
bun add android-res
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-06-04 |
| First published | 2015-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bound State Software Inc |
| Maintainers | mikejpeters |
| Keywords | android, resource, resize |

## Links

- npm: https://www.npmjs.com/package/android-res
- Repository: git@github.com:boundstate/android-res
- Homepage: https://github.com/boundstate/android-res
- Issues: https://github.com/boundstate/android-res/issues
- npm.io page: https://npm.io/package/android-res

## Dependencies (4)

- [q](https://npm.io/package/q.md) ^1.4.1
- [gm](https://npm.io/package/gm.md) ^1.18.1
- [lodash](https://npm.io/package/lodash.md) ^3.9.3
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1

## 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

- 0.0.3 (latest) — 2015-06-04
- 0.0.2 — 2015-06-04
- 0.0.1 — 2015-06-04

## README

# android-res

## Usage

```js
var androidRes = require('android-res');

var options = {
  sourceSize: 'xxxhdpi', // optional (default is 'xxxhdpi')
  dest: 'platforms/android/res/',
  destSizes: ['mdpi', 'hdpi', 'xhdpi', 'xxhdpi'] // optional
};

androidRes('ic_notify.png', options)
  .catch(function(err) {
    console.error(err);
  })
  .progress(function (data) {
    console.log(data);
  })
  .then(function() {
    console.log('');
  });
```

## Requirements

- GraphicsMagick

## License

MIT

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