{"library":"gifuct-js","type":"library","category":null,"description":"gifuct-js is a lean and efficient JavaScript library specifically designed for parsing and decoding GIF files. It aims to overcome the inefficiencies and complexities found in older GIF processing libraries by providing a streamlined API focused solely on extracting raw frame data. The current stable version is 2.1.2, last updated in November 2021. The library prioritizes performance, making it suitable for resource-constrained environments like mobile hybrid applications, as exemplified by its original development for the Ruffle project. It operates by consuming GIF files as `Uint8Array` buffers and leverages `js-binary-schema-parser` internally for robust parsing. A key differentiator is its 'decode-only' approach; unlike many alternatives, it deliberately omits any built-in drawing or rendering logic, empowering developers to integrate GIF data with their preferred rendering engines (e.g., Canvas, WebGL). While it can optionally generate canvas-ready `Uint8ClampedArray` patches, it leaves full control over animation and display to the implementer. The project maintains a stable release cadence, with updates primarily focusing on parsing accuracy and performance enhancements rather than frequent new feature introductions.","language":"javascript","status":"active","version":"2.1.2","tags":["javascript","gif","parser","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gifuct-js","imports":["import { parseGIF } from 'gifuct-js'","import { decompressFrames } from 'gifuct-js'","import type { GIF, Frame } from 'gifuct-js'"]},{"cmd":"yarn add gifuct-js","imports":[]},{"cmd":"pnpm add gifuct-js","imports":[]}],"homepage":null,"github":"https://github.com/matt-way/gifuct-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gifuct-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gifuct-js/compatibility"}}