# react-native-video-thumbnail-too

> extracts a png thumbnail from a video

Latest version **0.1.16** (published 2022-01-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-video-thumbnail-too
pnpm add react-native-video-thumbnail-too
yarn add react-native-video-thumbnail-too
bun add react-native-video-thumbnail-too
```

## 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.1.16 |
| Published | 2022-01-28 |
| First published | 2022-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jason Sebring |
| Maintainers | sebringj |
| Keywords | react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-video-thumbnail-too
- Repository: https://github.com/sebringj/react-native-video-thumbnail-too
- Homepage: https://github.com/sebringj/react-native-video-thumbnail-too#readme
- Issues: https://github.com/sebringj/react-native-video-thumbnail-too/issues
- npm.io page: https://npm.io/package/react-native-video-thumbnail-too

## 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.1.16 (latest) — 2022-01-28
- 0.1.15 — 2022-01-25
- 0.1.14 — 2022-01-25
- 0.1.13 — 2022-01-25
- 0.1.12 — 2022-01-25
- 0.1.11 — 2022-01-24
- 0.1.10 — 2022-01-24
- 0.1.9 — 2022-01-24
- 0.1.8 — 2022-01-17
- 0.1.7 — 2022-01-17
- 0.1.6 — 2022-01-17
- 0.1.5 — 2022-01-16
- 0.1.4 — 2022-01-16
- 0.1.3 — 2022-01-16
- 0.1.2 — 2022-01-16
- … 1 more at https://npm.io/package/react-native-video-thumbnail-too/versions

## README

# react-native-video-thumbnail-too

extracts a png OR jpg thumbnail from a video

## Installation

```sh
yarn add react-native-video-thumbnail-too
npx react-native link react-native-video-thumbnail-too
```
### IOS
```sh
cd ios && pod install
```

### Android
```sh
# already done
```

## Usage

```js
import { extractThumbnail } from "react-native-video-thumbnail-too";

const { uri, width, height } = await extractThumbnail({
    pathToVideoFile, // required
    timeInMilliseconds, // optional, default: 0
    imageType, // optional, default: 'jpg', can be 'jpg' or 'png'
    quality // optional, default: 100, only applies to 'jpg'
});
```

## Need anything custom?

https://www.jasonsebring.com/contact

## Tip Jar

https://www.jasonsebring.com/pay

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

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