0.0.3 • Published 8 years ago

gifit v0.0.3

Weekly downloads
58
License
-
Repository
github
Last release
8 years ago

gifit Build Status

Quickly convert video to high quality GIF.

Install

$ npm install --save gifit

Usage

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

NameTypeDefaultDescription
inputstringN/APath to video file you want to convert
outputstringN/APath you want the gif to be placed
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

License

MIT © Joe Gesualdo