Shrink photos.
Drop costs.
Instantly.

Why pay for expensive servers to shrink massive phone photos? Hikaru compresses images directly on the user's phone before they upload, saving you money and making your app lightning fast.

npm install @cfbl/hikaru-sdk

The Old Way (Expensive & Slow)

  • - Users wait forever for 15MB photos to upload.
  • - You pay huge server bills to store giant files.
  • - Your servers freeze up trying to shrink the images.

The Hikaru Way (Free & Instant)

  • + Photos shrink to 400KB instantly on the phone.
  • + Uploads finish in the blink of an eye.
  • + Your servers do zero work. You pay nothing.

Everything you need. Nothing you don't.

Cuts Your Bills

Smaller files mean you pay less for cloud storage and bandwidth. What used to cost thousands now costs pennies.

Lightning Fast Uploads

Users hate waiting. By shrinking the photo first, the upload finishes almost instantly, even on bad cell connections.

Protects User Privacy

Camera photos contain hidden location data (where the user lives). We automatically erase this data to keep your users safe.

Works Everywhere

No extra apps needed. It works right inside Safari, Chrome, Android, and iOS browsers perfectly.

No "File Too Large" Errors

Stop frustrating your users. Our smart engine automatically scales down massive 4K phone photos to a normal size.

Dead Simple Setup

You don't need a PhD in image processing. We created built-in settings for avatars, feeds, and banners so it just works.

Two lines of code. Massive results.

Just drop it in and let Hikaru SDK do the heavy lifting.

upload.ts
import { compress } from "@cfbl/hikaru-sdk";

// 1. Hikaru shrinks the photo & removes location data instantly
const readyFile = await compress(userPhoto, "auto");

// 2. Upload the tiny, clean file to your database
uploadToServer(readyFile);

0

%

Smaller File Sizes

100

$

Server Processing Cost

0

%

Client-Side

Stop wasting money on big files.

Join the developers building faster, cheaper apps.

npm install @cfbl/hikaru-sdk