# gifit

> Quickly convert video to high quality GIF.

Latest version **0.0.3** (published 2016-07-09) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-07-09 |
| First published | 2016-07-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | joegesualdo |
| Keywords | gif, optimized, quality, high, convert, video, mp4, mov |

## Links

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

## Dependencies (1)

- [bluebird](https://npm.io/package/bluebird.md) ^3.4.1

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2016-07-09
- 0.0.2 — 2016-07-09
- 0.0.1 — 2016-07-09

## README

## gifit [![Build Status](https://travis-ci.org/joegesualdo/gifit.svg?branch=master)](https://travis-ci.org/joegesualdo/gifit)
> Quickly convert video to high quality GIF.

## Install
```
$ npm install --save gifit
```

## Usage
```javascript
import gifit from 'gifit'

let inputPath = '/Users/joe/example.mov';
let outputPath = '/Users/joe/test.gif';

gifit({
  input: '/Users/joe/example.mov',
  output: '/Users/joe/test.gif',
})
.then(result => {
  console.log('Converted Successfully!')
})
.catch(error => {
  console.log(err)
})
```

## API
### `gifit([options])`
> Converts a video to gif

#### Options
| Name |   Type  | Default |   Description    |
|------|---------|---------|------------------|
| input | `string` |   `N/A`   | Path to video file you want to convert|
| output | `string` |   `N/A`   | Path you want the gif to be placed

```javascript
import gifit from 'gifit'

gifit({
  input: '/Users/joe/example.mov',
  output: '/Users/joe/test.gif',
})
.then(result => {
})
.catch(error => {
  console.log(err)
})

```

## Test
```
$ npm test
```
## Build
```
$ npm run build
```

## Related
- [gifit-cli](https://github.com/joegesualdo/gifit-cli) - CLI for this module.

## License
MIT © [Joe Gesualdo]()

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