FileSlim releases open-source JavaScript SDK for browser-based file compression

Oliver, Edmonton to be renamed at start of 2025

From Wikinews, the free news source you can write!

Tuesday, February 3, 2026

Free online compressor FileSlim has released an open-source JavaScript SDK for client-side file compression. The library, called @fileslim/compress, enables web developers to compress images and PDF files directly in users’ browsers without uploading data to external servers.

The SDK, released under the MIT license, uses WebAssembly technology to perform compression entirely on the client side. According to the developer, this approach eliminates server infrastructure costs and ensures complete user privacy since files never leave the user’s device.

The library supports common image formats including JPEG, PNG, and WebP, as well as PDF compression. The compressed package size is approximately 15 kilobytes when gzipped.

“All compression happens in the browser. Files never leave the user’s device,” states the project documentation.

The SDK includes four preset compression profiles: web-optimized, social media, email-friendly, and print quality. Developers can also configure custom compression settings including quality level, maximum dimensions, and output format.

The software is available through the npm package registry and the source code is hosted on GitHub. A live demonstration is available on the FileSlim website.


Source

Leave a Reply

Your email address will not be published. Required fields are marked *

Enable Notifications OK No thanks