Hasty Briefsbeta

Which NPM package has the largest version number?

5 hours ago
  • #versioning
  • #npm
  • #JavaScript
  • The AWS SDK for JavaScript version v3.888.0 sparked curiosity about the largest version number in npm packages.
  • The npm registry contains over 3.6 million packages, making the task of finding the highest version number complex.
  • The npm API and CouchDB replication API were explored to fetch package data efficiently.
  • A TypeScript script was developed to fetch package IDs and version data in batches, taking ~12 hours to complete.
  • The package 'latentflip-test' had an extreme version number (1e18.1e18.1e18), but it was deemed unrealistic.
  • The focus shifted to packages following semantic versioning (semver), with '@wppconnect/wa-version' at version 1.5.2219 identified as the legitimate winner.
  • The investigation revealed challenges like misconfigured GitHub actions inflating version counts.