# ionic-resources

> Automatic icon and splash resizing for Cordova

Latest version **0.1.8** (published 2018-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install ionic-resources
pnpm add ionic-resources
yarn add ionic-resources
bun add ionic-resources
```

Provides the command `ionic-resources`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2018-05-01 |
| First published | 2016-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 18.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Helix Huang |
| Maintainers | helixhuang |
| Keywords | cordova, ionic, icon, splash, resize |

## Links

- npm: https://www.npmjs.com/package/ionic-resources
- Repository: https://github.com/helixhuang/cordova-resources
- Issues: https://github.com/helixhuang/cordova-resources/issues
- npm.io page: https://npm.io/package/ionic-resources

## Dependencies (6)

- [q](https://npm.io/package/q.md) ^1.0.1
- [gm](https://npm.io/package/gm.md) ^1.23.0
- [colors](https://npm.io/package/colors.md) ^0.6.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0
- [underscore](https://npm.io/package/underscore.md) ^1.6.0
- [command-line-args](https://npm.io/package/command-line-args.md) ^4.0.7

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2018-05-01
- 0.1.7 — 2018-04-05
- 0.1.6 — 2018-04-05
- 0.1.4 — 2016-06-19

## README

# ionic-resources

[![Gitter](https://badges.gitter.im/helixhuang/ionic-resources.svg)](https://gitter.im/helixhuang/ionic-resources?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

[![Join the chat at https://gitter.im/helixhuang/ionic-resources](https://badges.gitter.im/helixhuang/ionic-resources.svg)](https://gitter.im/helixhuang/ionic-resources?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Base on [https://github.com/AlexDisler/cordova-splash](https://github.com/AlexDisler/cordova-splash) and [https://github.com/AlexDisler/cordova-icon](https://github.com/AlexDisler/cordova-icon)

Automatic splash screen and icon generator for Cordova(Ionic). Create a splash screen (2732x2732) and an icon (1024x1024) once in the resources folder of your Cordova project and use cordova-resgen to automatically crop and copy it for all the platforms your project supports (currenty works with iOS, Android and Windows 10).

### Installation

    $ sudo npm install ionic-resources -g

### Requirements

- GraphicsMagick installed (*Mac*: `brew install graphicsmagick`, *Debian/Ubuntu*: `sudo apt-get install graphicsmagick`, *Windows*: [See here](http://www.graphicsmagick.org/INSTALL-windows.html))
- At least one platform was added to your project ([cordova platforms docs](http://cordova.apache.org/docs/en/edge/guide_platforms_index.md.html#Platform%20Guides))
- Cordova's config.xml file must exist in the root folder ([cordova config.xml docs](http://cordova.apache.org/docs/en/edge/config_ref_index.md.html#The%20config.xml%20File))

### Usage

Create a `splash.png` and a 'icon.png' file in the root folder of your cordova project and run:

    $ ionic-resources

    $ ionic-resources --icon

    $ ionic-resources --splash


### License

MIT

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