# cordova-splash-sharp

> Automatic splash screen cropping for Cordova

Latest version **0.9.0** (published 2017-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-splash-sharp
pnpm add cordova-splash-sharp
yarn add cordova-splash-sharp
bun add cordova-splash-sharp
```

Provides the command `cordova-splash-sharp`.

## 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.9.0 |
| Published | 2017-05-19 |
| First published | 2017-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+5 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Disler |
| Maintainers | peopleware-npmjs |
| Keywords | cordova, splash, splashscreen, crop |

## Links

- npm: https://www.npmjs.com/package/cordova-splash-sharp
- Repository: https://github.com/peopleware/cordova-splash-sharp
- Issues: https://github.com/peopleware/cordova-splash-sharp/issues
- npm.io page: https://npm.io/package/cordova-splash-sharp

## Dependencies (7)

- [q](https://npm.io/package/q.md) ^1.0.1
- [sharp](https://npm.io/package/sharp.md) 0.17.3
- [colors](https://npm.io/package/colors.md) ^0.6.2
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [underscore](https://npm.io/package/underscore.md) ^1.6.0

## Recent versions

- 0.9.0 (latest) — 2017-05-19

## README

# cordova-splash-sharp

Automatic splash screen generator for Cordova. Create a splash screen (2208x2208) once in the root folder of your Cordova project and use cordova-splash-sharp to automatically crop and copy it for all the platforms your project supports (currenty works with iOS, Android and Windows 10).

This is a fork of [cordova-splash](https://github.com/AlexDisler/cordova-splash) that uses [sharp](http://sharp.dimens.io/) instead of ImageMagick.

### Installation

    $ sudo npm install cordova-splash-sharp -g

### Requirements

- 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` file in the root folder of your cordova project and run:

    $ cordova-splash-sharp

You also can specify manually a location for your `config.xml` or `splash.png`:

    $ cordova-splash-sharp --config=config.xml --splash=splash.png

If you run a old version of Cordova for iOS and you need your files in `/Resources/icons/`, use this option:

    $ cordova-splash-sharp --xcode-old

### Icons

Check out [cordova-icon](https://github.com/AlexDisler/cordova-icon)

### License

MIT

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