repo_description: Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿
repo_topics: blockchain crypto dapp graphql hacktoberfest lens-protocol nextjs react social-media tailwindcss turborepo typescript vitest wagmi web3
code: import imageCompression, { type Options } from "browser-image-compression";
  
  const compressImage = (file: File, opts: Options): Promise<File> => {
    return imageCompression(file, {
      exifOrientation: 1,
      useWebWorker: true,
      ...opts
    });
  };
  
  export default compressImage;
  