npm i @chi_eee/gif-decoder
https://www.npmjs.com/package/@chi_eee/gif-decoder
const { Decoder } = require('@chi_eee/gif-decoder')
const { readFileSync } = require('fs')
const gif = Decoder.decodePath('sample.gif')
const gif = Decoder.decodeBuffer(readFileSync('sample.gif'))
import { Decoder } from '@chi_eee/gif-decoder';
import { readFileSync } from 'fs'
const gif = Decoder.decodePath('sample.gif')
const gif = Decoder.decodeBuffer(readFileSync('sample.gif'))