Tried to add the new AWS IoT device SDK (v2) today to a browser app (using ESM),
and did not really succeed, Node.js module dependencies can be polyfilled, but
some other dependencies need also a replacement:
https://github.com/aws/aws-iot-device-sdk-js-v2/issues/223

Upvote it, if that's something you care about.

Wed, 23 Feb 2022 15:33:58 UTC1