# gifzip

> Change the gif frame rate and size.

Latest version **1.0.2** (published 2018-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install gifzip
pnpm add gifzip
yarn add gifzip
bun add gifzip
```

## 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.2 |
| Published | 2018-04-06 |
| First published | 2018-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tilerphy |
| Maintainers | tilerphy |
| Keywords | gif |

## Links

- npm: https://www.npmjs.com/package/gifzip
- Repository: https://github.com/Tilerphy/gifzip
- Homepage: https://github.com/Tilerphy/gifzip#readme
- Issues: https://github.com/Tilerphy/gifzip/issues
- npm.io page: https://npm.io/package/gifzip

## Dependencies (4)

- [gm](https://npm.io/package/gm.md) ^1.23.1
- [canvas](https://npm.io/package/canvas.md) ^1.6.10
- [gif-frames](https://npm.io/package/gif-frames.md) ^0.4.0
- [gifencoder](https://npm.io/package/gifencoder.md) ^1.1.0

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-04-06
- 1.0.1 — 2018-04-06
- 1.0.0 — 2018-04-06

## README

## Sample:

```
//you can also npm install gifzip and  then require("gifzip")
var util = require("./index");

//select a gif to unpack, the first argument could be filename or url
//change the size to 160*120 and select 1 frame from 2 frames (skip one frame)
util.unpack("./some.gif", 160, 120, 2, (folder,w,h)=>{ 
                        //after unpacked.
                        //pack the gif back with frame: 60 and the origin width/height.
                        //write the gif to any stream: express response or fs.createWriteStream(filename)
                        util.packStream(folder, anyStream, 60, w,h);
                        //delete the temp folder used by unpacking
                        exec("rm -rf "+__dirname+"/"+folder);
                });
```

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