# @gorner/ember-cli-favicon

> Automatically build and include all the various platform / device favicon formats from a single source public/favicon.png.

Latest version **4.0.0-alpha.2** (published 2023-09-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @gorner/ember-cli-favicon
pnpm add @gorner/ember-cli-favicon
yarn add @gorner/ember-cli-favicon
bun add @gorner/ember-cli-favicon
```

## 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 | 4.0.0-alpha.2 |
| Published | 2023-09-27 |
| First published | 2023-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 12.* \|\| 14.* \|\| >= 16 |
| Dependencies | 4 |
| Unpacked size | 22.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | gorner |
| Keywords | ember-addon, favicon |

## Links

- npm: https://www.npmjs.com/package/@gorner/ember-cli-favicon
- Repository: https://github.com/gorner/ember-cli-favicon
- Homepage: https://github.com/gorner/ember-cli-favicon#readme
- Issues: https://github.com/gorner/ember-cli-favicon/issues
- npm.io page: https://npm.io/package/@gorner/ember-cli-favicon

## Dependencies (4)

- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^7.26.6 || ^8.0.0
- [broccoli-merge-trees](https://npm.io/package/broccoli-merge-trees.md) ^4.2.0
- [@gorner/broccoli-favicon](https://npm.io/package/@gorner/broccoli-favicon.md) ^4.0.0-alpha.1

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

- 4.0.0-alpha.2 (latest) — 2023-09-27
- 4.0.0-alpha.1 — 2023-09-26

## README

# ember-cli-favicon

[![CI](https://github.com/davewasmer/ember-cli-favicon/actions/workflows/ci.yml/badge.svg)](https://github.com/davewasmer/ember-cli-favicon/actions/workflows/ci.yml)
[![Dependency Status](https://david-dm.org/davewasmer/ember-cli-favicon.svg)](https://david-dm.org/davewasmer/ember-cli-favicon.svg)

Take a single favicon source file at `public/favicon.png`, and convert to the various formats and sizes required for popular devices and platforms. Also injects the appropriate HTML into your index.html file during the build process.

Compatibility
------------------------------------------------------------------------------

* Ember.js v3.20 or above
* Ember CLI v3.20 or above
* Node.js v12 or above


Installation
------------------------------------------------------------------------------

```
ember install ember-cli-favicon
```

Usage
------------------------------------------------------------------------------

Just save an image to `public/favicon.png` (try to make sure it's at least 256x256). Additional configuration options are supplied in your `ember-cli-build.js` file with following defaults:

```js
// ember-cli-build.js
var app = new EmberApp({
  'ember-cli-favicon': {
    enabled: env != 'test', // By default favicons are NOT generated in TEST env to speedup builds

    onSuccess() {}, // You can call your callback when favicons are generated successfully

    iconPath: 'favicon.png', // icon path related to `public` folder

    // See the [favicons](https://github.com/itgalaxy/favicons) module for details on the available configuration options.
    faviconsConfig: {
      // these options are passed directly to the favicons module
      path: projectConfig.rootUrl,
      appName: package.name,
      appShortName: package.name,
      appDescription: package.description,
      developerName: package.author,
      version: package.version,
      icons: {
        favicons: true,
        android: isProductionEnv,
        appleIcon: isProductionEnv,
        appleStartup: isProductionEnv,
        windows: isProductionEnv,
        yandex: isProductionEnv
      }
    }
  }
});
```

Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).

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