ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

An update on how it’s going with ESM vs CJS: As of today, 29% of the popular packages on npm includes ESM. This remains an *approximation*: I think the idea is accurate but don’t put too much on the actual numbers. I fixed the algo to remove more spam, and detect more things as dual

Feb 28, 2025, 3:42 PM

Record data

{
  "uri": "at://did:plc:w2i5rf2ufip5uawt2gqxpwci/app.bsky.feed.post/3ljaqn4rdzs2m",
  "cid": "bafyreig43t2t65sbvz5ukodlecqiorfw4vjvqjnqesqg2odelfvcngjvoi",
  "value": {
    "text": "An update on how it’s going with ESM vs CJS: As of today, 29% of the popular packages on npm includes ESM.\n\nThis remains an *approximation*: I think the idea is accurate but don’t put too much on the actual numbers.\nI fixed the algo to remove more spam, and detect more things as dual",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "Bar chart showing ESM-only vs dual vs faux vs CJS, which as CSV is:\n\n```csv\ndate,total,esm,dual,faux,cjs\n2021-08-24,5617,341,95,832,4349\n2021-11-09,5647,411,119,809,4308\n2022-01-27,5686,439,149,809,4289\n2022-08-01,5734,496,207,791,4240\n2022-11-04,5747,518,216,785,4228\n2023-02-06,6085,568,255,856,4406\n2023-05-29,6240,630,417,783,4410\n2023-08-24,6636,676,473,876,4611\n2023-11-22,6818,734,510,881,4693\n2024-02-20,7042,826,594,893,4729\n2024-05-27,7042,819,736,826,4661\n2024-08-28,7638,923,876,876,4963\n2024-11-27,8087,942,1152,843,5150\n2025-02-28,8472,916,1520,852,5184\n```",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreiaxg6qwxzt7pz3qsftodyjwuzndfqlwijmnn7tswo6blr6cfwhila"
            },
            "mimeType": "image/jpeg",
            "size": 952598
          },
          "aspectRatio": {
            "width": 1872,
            "height": 1522
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "createdAt": "2025-02-28T15:42:07.909Z"
  }
}