# react-native-gif-engines

> React Native Gif Engines is a library that allows you to test multiple native libraries for displaying GIF animations on Android and iOS platforms, primarily to determine which engine provides the best performance.

Latest version **0.0.6** (published 2023-04-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-gif-engines
pnpm add react-native-gif-engines
yarn add react-native-gif-engines
bun add react-native-gif-engines
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2023-04-21 |
| First published | 2023-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 16.0.0 |
| Dependencies | 0 |
| Unpacked size | 55.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | SHIMA RYUHEI |
| Maintainers | islandryu |
| Keywords | react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-gif-engines
- Repository: https://github.com/islandryu/react-native-gif-engines
- Homepage: https://github.com/islandryu/react-native-gif-engines#readme
- Issues: https://github.com/islandryu/react-native-gif-engines/issues
- npm.io page: https://npm.io/package/react-native-gif-engines

## 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.6 (latest) — 2023-04-21
- 0.0.5 — 2023-04-21
- 0.0.4 — 2023-04-20
- 0.0.3 — 2023-04-19

## README

# React Native Gif Engines

![icon](./images/icon.png)

React Native Gif Engines is a library that enables you to test multiple native libraries for displaying GIF animations on Android and iOS platforms, primarily to determine which engine provides the best performance.

## Table of Contents

- [Features](#features)
- [Supported Engines](#supported-engines)
  - [Android](#android)
  - [iOS](#ios)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## Features

- Supports multiple GIF engines for both Android and iOS
- Helps you find the best-performing GIF engine for your React Native app

## Supported Engines

### Android

- [glide](https://github.com/bumptech/glide)
- [coil](https://github.com/coil-kt/coil)
- [gifDrawable](https://github.com/koral--/android-gif-drawable)
- [gifImageView](https://github.com/koral--/android-gif-drawable)

### iOS

- [gifu](https://github.com/bumptech/glide)
- [swiftGifOrigin](https://github.com/swiftgif/SwiftGif)
- [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage)

## Installation

```sh
npm install react-native-gif-engines --save
```

## Usage

First, import the library:

```jsx
import {GifEngine} from 'react-native-gif-engines';

// ...

render() {
  return (
    <GifEngine
      source={{uri: 'https://example.com/your-gif.gif'}}
      style={{width: 200, height: 100}}
      androidEngine="glide"
      iosEngine="SwiftOrigin"
    />
  );
}
```

## License

React Native Gif Engines is released under the MIT License.

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)

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