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: const splitNumber = (num = 1, parts = 1): number[] => {
    const base = Math.floor(num / parts);
    const rem = num % parts;
    return Array.from({ length: parts }, (_, i) => base + (i < rem ? 1 : 0));
  };
  
  export default splitNumber;
  