gifit

0.0.3 • Public • Published

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

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
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

Package Sidebar

Install

npm i gifit

Weekly Downloads

15

Version

0.0.3

License

none

Last publish

Collaborators

  • joegesualdo