{"library":"fast-png","type":"library","category":null,"description":"fast-png is a performant JavaScript library for encoding and decoding PNG image data, built entirely in JavaScript without native dependencies. The current stable version is 8.0.0, released in December 2025. This package focuses on speed, demonstrated by its recent switch to the `fflate` library for compression in v8.0.0. Major versions are released periodically (roughly annually), often introducing significant breaking changes like the migration to ESM in v7.0.0. It differentiates itself by offering a pure JavaScript implementation suitable for both Node.js and browser environments, while providing granular control over encoding options and supporting various PNG features like `tEXt` chunks, `tRNS` fields, and `ICC` profiles.","language":"javascript","status":"active","version":"8.0.0","tags":["javascript","png","image","image-js","encoder","decoder"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fast-png","imports":["import { decode } from 'fast-png';","import { encode } from 'fast-png';","import { hasPngSignature } from 'fast-png';"]},{"cmd":"yarn add fast-png","imports":[]},{"cmd":"pnpm add fast-png","imports":[]}],"homepage":"https://image-js.github.io/fast-png/","github":"https://github.com/image-js/fast-png","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fast-png","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/fast-png/compatibility"}}