Event JSON
{
"id": "f48a11c11e1ba1ed3dde3a1ca6e7e0b4c8e71c6e74e0947351526c765c3f97e3",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1724857777,
"kind": 1,
"tags": [
[
"p",
"2831912e465dad2381ba6d0cf276232bae2270a4fc9ac7a75271c87679f569b6",
"wss://relay.mostr.pub"
],
[
"p",
"db491ad25a0786a07a13c1d0daa3dd567aece96a40a6fff8b243641ea4307de9",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113040279335904982",
"activitypub"
]
],
"content": "TIL about JavaScript import maps. You can create such an import map and JS will use it to find out how the dependencies in the code are to be resolved. Nice thing is: this works with ESM without bundlers.\n\nI used that in my naive docx reader nostr:npub19qceztjxtkkj8qd6d5x0ya3r9whzyu9yljdv0f6jw8y8v704dxmqd8zcnq demo:\n\nhttps://codepen.io/learosema/pen/WNqyLzq/28223ebd2caf3fdf00a5b25af47df7ed",
"sig": "67bbbb814522df8cd240b379482183dca698fd20624a5203cd3609c102a9bf704ac3afea41fe7468f0720ea41fd778d0686057f0d394181088a7dc0a72034a27"
}