Skip to content
JS
Comparison

@aws-lambda-powertools/commons vs @middy/util

Cloud SDKsPackage data 25 Sept 2026
@aws-lambda-powertools/commonsv2.35.0, 18 Aug 2026

A shared utility package for Powertools for AWS Lambda (TypeScript) libraries

$ npm install @aws-lambda-powertools/commons
@middy/utilv7.9.2, 27 Aug 2026

🛵 The stylish Node.js middleware engine for AWS Lambda (util package)

$ npm install @middy/util
Metric@aws-lambda-powertools/commons@middy/utilDifference
Weekly downloads1,092,217395,996@aws-lambda-powertools/commons 2.8x higher
12-month download growth---
Gzip size---
Minified size---
Dependencies10@aws-lambda-powertools/commons 1 more
Unpacked size215 kB42 kB@middy/util 5.1x smaller
Latest release2.35.0, 18 Aug 20267.9.2, 27 Aug 2026@middy/util 10 days more recent
Releases, last 12 months1239@middy/util 27 more
First published15 Dec 202124 Jan 2021@middy/util 11 months earlier
GitHub stars1,7913,905@middy/util 2.2x higher
Open issues325@aws-lambda-powertools/commons 27 more
Open pull requests53@aws-lambda-powertools/commons 2 more
Contributors---
Commits, last 52 weeks834841@middy/util +1%
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM onlyDiffers
Runtimes---
LicenseMIT-0MITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

No weekly download data.

@aws-lambda-powertools/commons

Major versions
  1. 0.0.015 Dec 2021
  2. 1.0.114 Jul 2022
  3. 2.0.04 Mar 2024
Last 5 releases
  1. 2.35.018 Aug 2026
  2. 2.34.010 Jul 2026
  3. 2.33.125 May 2026
  4. 2.33.014 Apr 2026
  5. 2.32.019 Mar 2026
102 releases in total, 12 in the last 12 months

@middy/util

Major versions
  1. 2.0.01 Apr 2021
  2. 3.0.013 May 2022
  3. 4.0.025 Nov 2022
  4. 5.0.015 Nov 2023
  5. 6.0.024 Nov 2024
  6. 7.0.05 Jan 2026
Last 5 releases
  1. 7.9.227 Aug 2026
  2. 7.8.020 Aug 2026
  3. 7.7.414 Aug 2026
  4. 7.7.312 Aug 2026
  5. 7.7.222 Jul 2026
165 releases in total, 39 in the last 12 months
@aws-lambda-powertools/commons

-

@middy/util

-

@aws-lambda-powertools/commons

-

@middy/util

-

  • Need no runtime dependencies@middy/util (@aws-lambda-powertools/commons has 1, @middy/util has 0)
  • Need both ESM and CommonJS entry points@aws-lambda-powertools/commons (@aws-lambda-powertools/commons: ESM + CommonJS; @middy/util: ESM only)
  • Need to load it with require()@aws-lambda-powertools/commons
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@aws-lambda-powertools/commons: none declared; @middy/util: >=22 (engines field in package.json)
  • Need the more recent release@middy/util (7.9.2 on 27 Aug 2026 vs 2.35.0 on 18 Aug 2026)
  • Higher weekly npm downloads@aws-lambda-powertools/commons (1.1m vs 396k)
  • License@aws-lambda-powertools/commons: MIT-0; @middy/util: MIT

Each line is generated from the data above.

@aws-lambda-powertools/commons: @aws-lambda-powertools/commons npm registry, @aws-lambda-powertools/commons GitHub. Data fetched 25 Sept 2026.
@middy/util: @middy/util npm registry, @middy/util GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.