# gif-decode

> JavaScript GIF parser on web and return width,height,ratio,duration,frame length

Latest version **1.0.0** (published 2020-02-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install gif-decode
pnpm add gif-decode
yarn add gif-decode
bun add gif-decode
```

## 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 | 1.0.0 |
| Published | 2020-02-25 |
| First published | 2020-02-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | robin |
| Maintainers | robin-front |
| Keywords | gif, decode, gif, parser |

## Links

- npm: https://www.npmjs.com/package/gif-decode
- Repository: https://github.com/Robin-front/libgif-js
- Homepage: https://github.com/Robin-front/libgif-js#readme
- Issues: https://github.com/Robin-front/libgif-js/issues
- npm.io page: https://npm.io/package/gif-decode

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-02-25

## README

# Overview

Forked from the excelent jsgif project (https://github.com/shachaf/jsgif), which was implemented as a bookmarklet to manipulate animated gifs (http://slbkbs.org/jsgif).


# Example

Please see example.html for, you know, an example.

Please note: this example must be loaded via a webserver, not directly from disk. I.e. http://localhost/libgif-js/example.html NOT file:///libgif-js/example.html. See the same-domain origin caveat at the bottom of this document for more information.

# Technical Details

This is an attempt to pull out the gif parsing and return length,duration,width,height,ratio locally;

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